I just noticed this in my project. The constructors are firing as you’d expect. GameState first, then PlayerController. But then the PlayerController BeginPlay event fires before the GameState BeginPlay. This does not make sense to me. Can someone help me wrap my head around the process?
In my project I need the PlayerController to load some values from the GameState at the start of the game. The GameState is setting these values in it’s BeginPlay (I cannot set them in the constructor). It looks like the PlayerController BeginPlay is not the correct place to do this. Any thoughts on how to make this happen? As a workaround I can put a 1 second delay in the PC BeginPlay. It works, but it is such a heavy handed hack. I really don’t want to do that.
Thanks!!
ants