What is Unity CLI Loop?
mainUnity CLI Loop is a tool designed to enable AI agents to autonomously perform development loops within Unity projects. It allows LLM tools (like Claude Code, Cursor, or GitHub Copilot) to execute tasks that humans typically do manually, such as compiling, running tests, analyzing logs, manipulating scenes, and verifying UI layouts via screenshots.
Core capabilities include:
- Autonomous Development Loops: Automating
compile,run-tests,get-logs, andclear-console. - Editor Manipulation: Delegating scene construction, object manipulation, and menu execution via
execute-dynamic-codeandscreenshot. - PlayMode Automation: Simulating mouse/keyboard input, recording/replaying inputs, and verifying game behavior.
- Minimal Toolset: Achieving high autonomy with a streamlined set of commands.