Download

(Character) C++ Parent Constructor Not Called when BP Child Spawned.

I have C++ parent character class with a child BP character class. I have various defaults and an inventory class being setup in the parent class’ constructor. If I specify the parent class as the pawn class for my game mode the c++ constructor gets called when the game begins and the pawn spawned. However if I specify the child bp character, the parent c++ constructor does not get called and these are not setup.

Is this behavior the intended behavior or should the parent constructor get called? If its intended I can just move the setup to the bp construction script, but I’d rather leave it where it is if I can.

Thanks