Unity Scene Unloader
Unloads open scenes from the Unity Editor asynchronously to manage project resources and workspace organization.
The Unity Scene Unloader skill provides a streamlined way to manage the Unity Editor's active environment by programmatically unloading specific scenes. It utilizes the SceneManager.UnloadSceneAsync method to ensure smooth, non-blocking operations on the main thread. This tool is essential for developers working with multi-scene architectures, allowing for the automated cleanup of additive scenes or the dynamic swapping of environments without manually navigating the Unity hierarchy, ultimately improving editor performance and workflow efficiency.
Key Features
01Detailed result output including AssetObjectRef and instance IDs
02Asynchronous scene unloading via SceneManager.UnloadSceneAsync
03Validation against currently opened scenes to prevent execution errors
04Support for both direct JSON input and file-based arguments
05Seamless integration with Unity MCP for editor automation
069 GitHub stars
Use Cases
01Automating the removal of temporary or additive scenes after automated testing
02Managing editor memory usage by unloading heavy scenes when they are no longer needed
03Scripting complex environment transitions during multi-scene project development