Why Character attachements are deleted?

Hi,
i have a character cpp and in that i create some ustaticmeshes in the constructor and attach them to the character.

in the blueprint i see the ustaticmeshes fine but when i spawn the character in game, the static meshes are deleted. I have no clue why. Is this a bug or am i missing something here?

Thank you

Ok i worked it out.
I made a new BP from the CPP class, the other BP was somehow corrupted.
Actually i have encountered this several times:

When you make a BP from a CPP and do major changes to the CPP, the BP will become slighlty corrupted and act strange like in my case.

1 Like