- Home /
How do I unload one scene when loading another, without unloading all current scenes?
The way I'm trying to structure this, is to have a "background scene" loaded at all times, and switch other scenes in and out on top of this. However, if I simply keep loading scenes with Additive, then I end up with too many loaded at once. If I don't use Additive, my background scene gets unloaded as well (or that's how I understand it). Is there a way to manually unload a scene, or a way to tag a scene so that it will never be unloaded?
Answer by HeliosDoubleSix · Aug 20, 2013 at 09:19 PM
Well if you put the contents of the scene inside an Object and name or tag it, save that scene file, then when you load that scene file additively you can find that object you inserted everything into, and Destroy it, just treating it like any other object you instantiate and destroy.. because thats exactly what it really is when using Additive
Also instead of this you can mark any object/component as DontDestroyOnLoad
This means if you load another scene ( none additively ) it will remain and not be removed. You can then remove this object when you want via the typical Destroy call.
Your answer
![](https://koobas.hobune.stream/wayback/20220613112630im_/https://answers.unity.com/themes/thub/images/avi.jpg)