scene-unload

Unload a named scene from the Unity Editor's opened scenes.

3.8k|349|Updated Apr 2, 2025
One-click install
npx skills add https://github.com/IvanMurzak/Unity-MCP --skill scene-unload-ivanmurzak
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: scene-unload
Source: https://github.com/IvanMurzak/Unity-MCP/tree/main/Unity-MCP-Plugin/.claude/skills/scene-unload
Command: npx skills add https://github.com/IvanMurzak/Unity-MCP --skill scene-unload-ivanmurzak

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Unload a scene from the opened scenes in Unity Editor to streamline workflow and free up resources during development.

Core Features & Use Cases

  • Unloading by name: Unloads a named scene from the opened scenes.
  • CLI integration: Works with unity-mcp-cli to automate scene cleanup in scripts and pipelines.
  • Use Case: Use in iterative editing or automated testing to ensure only relevant scenes are loaded.

Quick Start

Invoke the Unity MCP CLI tool to unload a scene by providing its name in the input payload.

Frequently Asked Questions about scene-unload

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I unload a scene in the Unity Editor to free up resources?

To unload a Unity Editor scene, provide the scene's name in a JSON input payload with a mandatory 'name' field. This deterministically closes the specified scene from the opened scenes list to reclaim resources and simplify editing workflows.

Can I automate unloading Unity scenes from the command line?

Yes, you can automate unloading Unity scenes from the command line by integrating with the unity-mcp-cli. This allows you to script scene cleanup operations and execute them within automated testing or iterative editing pipelines.

What is the best way to manage multiple loaded scenes during Unity debugging?

The best way to manage multiple loaded scenes during Unity debugging is deterministic unloading by scene name. It removes irrelevant scenes from the editor to ensure only necessary scenes remain loaded, streamlining workflow and freeing resources.

Does the Unity scene unloading tool require any specific dependencies?

No specific dependencies are required to use the Unity scene unloading tool. It operates by accepting a JSON input with a mandatory 'name' field and returns a structured result referencing the unloaded scene.

Why does unloading scenes by name help in Unity automated testing?

Unloading scenes by name helps in Unity automated testing by providing deterministic scene cleanup. It ensures only relevant scenes are loaded during iterative test runs, preventing resource conflicts and simplifying the testing environment.