I’ve got some managers in the game (level, sound, combat etc), they are basically singletons. Right now I put these manager actors manually in the level. I would like to have single manager object spawning them on its begin play since manager object count starting to grow. However, there’s no execution order of begin play in UE afaik and I absolutely need these objects to be created before begin play is called on non-manager actors which will save references to these manager actors. It’s impossible to spawn actors in construction script. Making them components is not an option.
The question is: is there the way to create certain objects before all other objects will receive begin play? Or call some begin play in front of all other begin plays. C++ way will work too. Of course this should be consistent in the editor and standalone. Unity has this feature where you can set order of execution of the scripts, I need the same stuff in UE basically.