scene-unload

Unload a named scene from opened scenes in the Unity Editor.

Updated Feb 4, 2024
One-click install
npx skills add https://github.com/sprillion/gem_td --skill scene-unload-sprillion
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: scene-unload
Source: https://github.com/sprillion/gem_td/tree/main/SKILLS/scene-unload
Command: npx skills add https://github.com/sprillion/gem_td --skill scene-unload-sprillion

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Unity Editor often accumulates many opened scenes, leading to clutter, wasted RAM, and slower workflows. This Skill provides a deterministic way to unload a specific scene by name, keeping your editor session lean and responsive.

Core Features & Use Cases

  • Unloads a named scene from the currently opened scenes in the Unity Editor.
  • Accessible via an HTTP API (POST /scene-unload) for automation and integration with MCP Plugin workflows.
  • Returns a structured result including the unloaded scene name and a reference to the asset.

Quick Start

Unload a scene by name from the currently opened scenes in the Unity Editor.

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 Unity scene programmatically to free up memory?

To unload a Unity scene programmatically, send a POST request to the scene-unload API endpoint with the target scene's name. This removes the specified scene from the opened list, reducing editor clutter and memory usage.

What is the best way to remove opened scenes from the Unity Editor list via automation?

The best way to remove opened scenes via automation is using the scene-unload HTTP API. It accepts a JSON body containing the scene name, unloads it from the Unity Editor, and returns a structured result with the asset reference.

Can I integrate scene unloading into an MCP Plugin workflow?

Yes, you can integrate scene unloading into an MCP Plugin workflow. The scene-unload tool fulfills an HTTP API contract for POST /api/tools/scene-unload, allowing automated editor workflows to programmatically remove loaded scenes.

Why does the Unity Editor slow down when multiple scenes are opened?

The Unity Editor slows down because opened scenes accumulate clutter and waste RAM. Unloading specific scenes by name through an automated script keeps your editor session lean, responsive, and free of unnecessary memory consumption.

Does the scene-unload API require any specific dependencies or components?

No, the scene-unload API does not require any specific dependencies or components to function. It operates independently to unload named scenes from the currently opened list in the Unity Editor and returns a structured result.