How to change the class of a child actor component in runtime?

I have a child actor component which is a child class of my WeaponParent_BP.

I’m trying to change my weapon to another, which is also a child class of WeaponParent_BP, by setting the child actor class like this:

however, even though the print string prints the correct class, the current weapon just disappears.

what am I doing wrong?

I had something on my weapon’s construction script that would attach it elsewhere.

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.