Cross Scene Interaction

How do scripts / objects interact between several open scenes.
I’m using asynchronous loading to have several scenes open at the same time and I’m getting unusual results from cross scene interactions. Ai floating in the air things like that.

How do you access a single game object in all simultaneously open scenes that’s in the Hierarchy?

Can somebody explain how objects and scripts from different scenes interact?

What is the “meta scene” created when using DontDestroyOnLoad?

Should everything that has a script interaction live in the same scene?

Add comment

How do you access a single game object
in all simultaneously open scenes
that’s in the Hierarchy?
Can somebody explain how objects and
scripts from different scenes
interact?

The same as if it was in the same scene.

What is the “meta scene” created when
using DontDestroyOnLoad? Should
everything that has a script
interaction live in the same scene?

Since you are using DontDestroyOnLoad, you might be using it for game controllers, data helpers or other things that should only exist once. Make sure there’s only 1 instance of that object throughout the game. Check out Singleton.