scene-save

Save opened Unity scenes to .unity asset files via unity-mcp-cli.

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

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Saving opened scenes in Unity typically requires manual steps to persist changes to the corresponding .unity asset files. This Skill automates that process by saving a specified opened scene (or the current active scene) to its asset file at a provided path.

Core Features & Use Cases

  • Save a specific opened scene to a designated .unity asset file.
  • Save the current active scene when no name is provided, enabling quick persistence during development.
  • Use with the scene-list-opened tool to identify targets before saving.

Quick Start

Run unity-mcp-cli run-tool scene-save with an openedSceneName and a path to save the scene.

Frequently Asked Questions about scene-save

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

FAQPage Schema
How do I save opened Unity scenes to asset files from the command line?

To save opened Unity scenes to asset files, you can use the scene-save command via the unity-mcp-cli. This automates persisting edits from the Scene view by naming the opened scene and providing a target .unity path.

What is the best way to automate Unity scene persistence during development?

Automating Unity scene persistence is done by running the unity-mcp-cli run-tool scene-save command. It directly writes the current state of opened scenes to their corresponding .unity asset files without manual UI interaction.

Do I need to specify a scene name when saving a Unity scene via CLI?

You must provide the openedSceneName and a path to save a specific scene. If no name is provided, the skill defaults to saving the current active Unity scene to persist quick development edits.

Can I save all opened Unity scenes at once?

Yes, you can save all opened Unity scenes to their corresponding .unity asset files. The scene-save command supports persisting both a single specified scene and all currently opened scenes in the Unity editor.

How do I identify which opened Unity scene to target before saving?

You can identify opened Unity scenes by using the scene-list-opened tool. After listing the currently opened scenes, use the returned scene names with the scene-save command to target the correct .unity asset file.