editor-application-set-state

Controls Unity Editor playmode state by starting, stopping, or pausing play mode.

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

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill requires unity-mcp-cli.

What problem does it solve? Manually toggling Unity Editor play mode interrupts automated testing and simulation workflows, making it hard to run, pause, or stop scenes programmatically from an AI assistant or CLI. ## Core Features & Use Cases - Playmode Control: Start or stop Unity Editor play mode by setting the isPlaying flag. - Pause and Resume: Pause or resume an active playmode session using the isPaused flag. - State Feedback: Returns full editor state including compile status, update status, and editor paths after each change. - Use Case: While running an epidemic simulation scene in Unity, pause playmode to inspect agent behavior at a critical moment, then resume without restarting the scene. ## Quick Start Ask the AI to start Unity playmode using the editor-application-set-state tool with isPlaying set to true.

Frequently Asked Questions about editor-application-set-state

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

FAQPage Schema
How do I start Unity playmode from the command line?

Run unity-mcp-cli run-tool editor-application-set-state with a JSON input containing isPlaying set to true. The tool starts playmode and returns the current editor state including compile and update status.

How to pause and resume Unity Editor play mode programmatically?

Set isPaused to true to pause an active playmode session, or false to resume it. Pass the value as JSON input to the editor-application-set-state tool through unity-mcp-cli.

What should I check before changing Unity playmode state?

Use the editor-application-get-state tool first to read the current editor state, as recommended in the skill documentation. This confirms whether the editor is playing, paused, or compiling before you send changes.

Why is unity-mcp-cli not found when running the tool?

The CLI is not installed globally or not on your PATH. Install it with npm install -g unity-mcp-cli, or invoke it through npx unity-mcp-cli instead.

Can I pass complex JSON input to the Unity MCP tool?

Yes, save the JSON to a file and pass it with --input-file args.json, or pipe it via stdin using --input-file - with a heredoc. This is recommended for multi-line or complex input.