Hey so I’m spawning an actor from the game instance class which when I play in the editor works perfectly fine and returns true and the constructor, begin play + tick functions of the actor all call accordingly.
But when I launch my game, for some reason, the actor spawns in fine and returns true but the begin play and tick functions just don’t call…
The constructor calls but I have no idea why this is happening since it works fine when played in the edtor, please can someone help me out, thank you
Code that I used to spawn actor in + never returns null:
are you sure it is being spawned in game? I think if it were unable to spawn due to something like collision interactions, it would be destroyed before beginplay called…
I thought it would be something like that as well but GameInstanceActor always returns true after being spawned and I even tried using spawn params to always spawn the actor but the actors begin play + tick still doesn’t call when launched:
Any news there ? I am issuing the same problem, the constructor and OnConstruction methods work correctly though my BeginPlay and Tick function never appear, I did not set the instance to “Hide In Game” or “Editor Only”, and the actor disappears in the level hierarchy in PIE, but reappears when in editor…