Multiple scenes

Hi.

Is it possible in game to keep multiple scenes at the same time ?
For example, I have one WorldScene, and, additionaly scene for some Interior. Can I keep both in memory at the same time and quickly switch between them?

1 Like

Yes, you can drag&drop scene assets into Editor Viewport or Scene Tree window to open them additevly of do it from code via:

SceneReference  MyScene;

Level.LoadSceneAsync(MyScene);

Does it mean, that both scenes keeped loaded ?
Can I have both of them updated in flightloop and rendered. One to texture, another one to screen ?

Yeah scenes are loaded additively, you can unload certain scenes manually.

LoadScene/Async gets SceneReference, but UnloadScene/Async gets Scene type. Is there a reason? Is the instance used for loading compatible with unloading parameter?