Best practices for communicating between scenes?

Separate scenes scale well to larger content, especially when you start using additive scenes.

Then all you need is a directory of those scenes and load the one you want.

Keep in mind scenes can be in the built game, but they can also be downloaded as DLC (downloadable content), and if you have a robust inter-scene comm system set up, it all Just Works™.

Here’s more scribblings about additive scene loading:

Additive scene loading is one possible solution:

A multi-scene loader thingy:

My typical Scene Loader:

Other notes on additive scene loading:

Timing of scene loading:

Also, if something exists only once in one scene, DO NOT MAKE A PREFAB out of it. It’s a waste of time and needlessly splits your work between two files, the prefab and the scene, leading to many possible errors and edge cases.

Two similar examples of checking if everything is ready to go:

2 Likes