unity-editor-remote
Installation
SKILL.md
Unity Editor Remote
Control a running Unity Editor via a file-polling command bridge. No window clicking, no second editor process.
Protocol
Agent writes <project>/UnityRemote.txt (one command per line, # comments allowed). Editor polls every 0.5 s, executes lines, writes <project>/UnityRemote.result.txt, deletes the command file. Commands are skipped while compiling/updating — wait, never resend.
Full command list with argument formats: references/commands.md.
Setup
- Detect bridge: check
<project>/Assets/UnityRemote.cs. Some projects ship their own variant — grepAssets/**/Editor/*.csfor a command-file poller before deploying. - Deploy if missing: copy
assets/UnityRemote.cs(andassets/UnityRemoteRecorder.csforrecord) intoAssets/, then runrefreshto import + compile. An unfocused editor defers asset import — ifrefreshtimes out, focus the editor window, then retry. Confirm withping. - Send commands: