I have a bootstrap scene that holds some of my game managers who need to be in every scene.
I created a Global Machine and a Scene Manager schematic. The problem I'm having though is the current arrangement has the bootstrap scene being loaded as the main scene instead of additive as I arranged.
The schematic is very simple, it's just a Load Scene node with it set to `Load Async Additive`.
As for the Global Machine, the settings are as follows;
Global Machine Type - Scene
In Old Scene - Checked
Before Fade - Checked
Scene Change Type - Scene Change
My goal is to have the bootstrap loaded with every scene, but not be the main scene. What am I missing?
Currently making: Real-Time Diablo-like ARPG
Try disabling In Old Scene to start the global machine in the newly loaded scene.
An alternative could be to set your game objects you need in every scene to not be destroyed on scene changes. E.g. schematics have a Don't Destroy On Load node for that.
If you're enjoying my products, updates and support, please consider supporting me on patreon.com!
E.g. have all your managers under a single game object and use an Auto Machine on the game object with that node (setting Machine Object to not be destroyed).
Now they'll stay alive throughout all your scenes after being loaded once.
If you're enjoying my products, updates and support, please consider supporting me on patreon.com!