editor-application-get-state

Retrieves the current state of the Unity Editor application via unity-mcp-cli.

1|Updated Apr 1, 2026
One-click install
npx skills add https://github.com/Fermisloth/Project-Aegis-Adaptive-Outbreak-Containment --skill editor-application-get-state-fermisloth
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: editor-application-get-state
Source: https://github.com/Fermisloth/Project-Aegis-Adaptive-Outbreak-Containment/tree/main/.agent/skills/editor-application-get-state
Command: npx skills add https://github.com/Fermisloth/Project-Aegis-Adaptive-Outbreak-Containment --skill editor-application-get-state-fermisloth

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill requires unity-mcp-cli.

What problem does it solve? When automating Unity Editor workflows, you often need to know whether the Editor is playing, paused, compiling, or updating before issuing further commands. This Skill exposes that state through a single CLI call so scripts and AI agents can make informed decisions. ## Core Features & Use Cases - Editor State Inspection: Returns play mode, paused, compiling, updating, and playmode-transition flags from UnityEditor.EditorApplication. - Environment Paths: Reports the Unity Editor application path, contents path, and time since startup. - Use Case: Before triggering a play-mode test run, call this tool to confirm the Editor is not compiling or updating, avoiding failed or flaky automation steps. ## Quick Start Ask the AI to check the current Unity Editor state, such as whether it is playing or compiling, using the editor-application-get-state tool.

Frequently Asked Questions about editor-application-get-state

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

FAQPage Schema
How do I check if the Unity Editor is in play mode from the command line?

Run unity-mcp-cli run-tool editor-application-get-state with an empty or minimal JSON input. The response includes an IsPlaying boolean indicating whether the Editor is currently in Play mode.

What information does the Unity EditorApplication state tool return?

It returns IsPlaying, IsPaused, IsCompiling, IsPlayingOrWillChangePlaymode, IsUpdating, TimeSinceStartup, plus the editor application path and contents path. All values come from UnityEditor.EditorApplication.

What should I do if unity-mcp-cli is not found?

Install it globally with npm install -g unity-mcp-cli, or prefix commands with npx unity-mcp-cli. The unity-initial-setup skill contains detailed installation instructions.

Can I detect Unity script compilation before running automated tests?

Yes. The IsCompiling field in the response is true while the Editor compiles scripts. Poll this tool and wait until IsCompiling and IsUpdating are false before triggering test runs.

Does this tool modify the Unity Editor state?

No. It is read-only and only reports EditorApplication properties such as play mode, pause, and compilation status. It cannot enter play mode, pause, or trigger compilation.