Question by
Dr-Nick · Mar 10, 2021 at 01:32 AM ·
scene-loadingunloading
Unloading Scene without removing hierarchy
How you unload a scene in the editor's hierarchy window via scripting without removing it. When you right click a scene in the editor and select Unload Scene is the effect I want to achieve.
EditorSceneManager.UnloadSceneAsync always removes the scene from the SceneManager.
See attached screenshot of expected result.
unload-scene.png
(19.4 kB)
Comment
Your answer
![](https://koobas.hobune.stream/wayback/20220613030446im_/https://answers.unity.com/themes/thub/images/avi.jpg)
Follow this Question
Related Questions
Application.LoadLevel(""); - doesn't load my Scene 1 Answer
After SceneManager.LoadScene() some sprite images of objects are missing 0 Answers
Scenes not loading in the correct order 1 Answer
Load Scene and keep Enemy and Puzzles dead/done 1 Answer
Need a Script for Changing Scenes after pressing E to open locked door once a key has been found. 0 Answers