Setting the position of additive scenes in the hierarchy

TLDR; In the editor you can drag and re-arrange the order of the scenes… I’m basically looking for the code equivalent of that.

I’m new to scene management and I haven’t been able to find an answer for this elsewhere.


I’m trying to setup a system in which ApplicationCore manages the scenes, GameNav holds the UI to change activities, and any scene in-between those is a swappable interactive activity. The problem is if I remove TestScene and add a new scene, it is automatically placed at the bottom of the hierarchy, covering up GameNav.

Is it possible to determine the order of scenes that have been added onto the main scene with

AsyncOperation asyncLoad = SceneManager.LoadSceneAsync(sceneName, LoadSceneMode.Additive);


I don’t believe you can change the order. If you want to know the order then you can always keep a list of scene names, add to it when you load a scene and remove from the list when you leave that scene. If you’re saying you have multiple user interfaces and they’re displaying in the wrong sort order, then you might need to rethink your UI setup.