When I hook the nodes that are under BeginPlay to the beginning of ActorOnClicked, everything works exactly as it should. This confirms the blueprint is working as intended. But when I have it hooked up as shown, BeginPlay never fires. “Hello” is never printed to the screen no matter how many times I spawn the actor.
My hierarchy is MechBipod -> UnitParent -> Pawn. I’ve tested with the nodes moved to the MechBipod BeginPlay but it still fails. I’ve also tested this on a new blank project with blank actors other than this logic and it works. There seems to be something wrong with my project. Either a bug or some obscure setting that I’m not finding.
If UnitParent is the parent of MechBiped, you will need to call parent’s begin play in MechBiped BP. Right click on begin play node and pick ‘call parent function’.
I tried that. It didn’t resolve the issue. I also tried moving the logic to the MechBiped BeginPlay directly and it didn’t work. However, it works without calling parent’s begin play in a new empty project.
Thank you - that solved my problem!! Had a parent class’ event beginplay suddenly (it seemed to me :)) stop firing as project grew. After a couple of days bug hunting/searching I found this post and now it seems to be (fingers crossed!) tickety-bo. I love you.