unity-scene

Manage Unity scene lifecycle and inspect scene hierarchies.

Updated Apr 15, 2026
One-click install
npx skills add https://github.com/Yuan-Zzzz/FrogRE --skill unity-scene-yuan-zzzz
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: unity-scene
Source: https://github.com/Yuan-Zzzz/FrogRE/tree/main/.codex/skills/unity-skills/skills/scene
Command: npx skills add https://github.com/Yuan-Zzzz/FrogRE --skill unity-scene-yuan-zzzz

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Helps Unity developers and CI pipelines manage scene lifecycle and inspect scene hierarchies, removing repetitive manual steps for creating, loading, saving, unloading, and documenting scenes.

Core Features & Use Cases

  • Scene Lifecycle: Create new scenes, load scenes (including additive), save current scenes, unload additive scenes, and set the active scene for multi-scene editing.
  • Inspection & Debugging: Retrieve scene info, enumerate loaded scenes, and get full hierarchy trees with configurable depth and object filters.
  • Visual Documentation: Capture screenshots with configurable resolution for previews, automated QA, or deployment artifacts.
  • Use Case: Load a UI scene additively to inspect its hierarchy, set it active for editing, save changes, and capture a preview image for review or CI deployment.

Quick Start

Load Assets/Scenes/MainMenu.unity additively and capture a screenshot named preview.png using the unity-scene skill.

Frequently Asked Questions about unity-scene

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

FAQPage Schema
How do I load multiple Unity scenes additively for multi-scene editing?

You can load Unity scenes additively by specifying parameterized scene paths with an additive flag, which allows multiple scenes to exist simultaneously in the editor for multi-scene editing and hierarchy inspection.

What is the best way to automate capturing Unity screenshots in a CI/CD pipeline?

Automating Unity screenshots in a CI/CD pipeline is achieved by configuring image dimensions and resolution parameters, which generates preview images suitable for automated QA or deployment artifacts.

How do I inspect a Unity scene hierarchy programmatically?

Inspecting a Unity scene hierarchy programmatically involves retrieving structured scene info with configurable depth limits and object filters, enabling you to enumerate loaded scenes and find specific objects.

Can I manage the full Unity scene lifecycle without manual editor steps?

Yes, you can manage the complete Unity scene lifecycle by creating, loading, saving, and unloading scenes through parameterized paths, removing repetitive manual steps for both editor and CI workflows.

Does this Unity scene management approach work for setting an active scene?

Yes, setting an active scene is fully supported, allowing you to designate a specific additively loaded scene as active for editing, saving changes, and capturing preview images for review.

What are the limitations of retrieving Unity scene hierarchies with depth limits?

Retrieving Unity scene hierarchies with depth limits restricts the enumeration to a specified number of nesting levels, which prevents excessively deep object tree traversal and keeps the returned structured hierarchy manageable.