unity-cli - Control Unity projects and Editors from the CLI
Use the Unity CLI to control a connected Editor, manage Unity installations and projects, inspect logs, build and test projects, and configure automation.
Tags
Updated: 2026-12-01Capabilities
Typical Inputs
Typical Outputs
What this skill does
- Control a running Unity Editor
- Create and modify GameObjects
- Edit scenes and assets
- Inspect the Editor hierarchy
- Run arbitrary C# code
- Install Unity editors
- Manage projects and modules
- Manage licenses and authentication
- Read logs and releases
- Build and test projects
- Configure Unity MCP
- Inspect automation targets and jobs
Inputs
- Unity project
- Project path
- Running Unity Editor
- Editor command
- C# code
- Build or test configuration
- Authentication state
Outputs
- CLI command output
- Editor state changes
- Modified GameObjects, scenes, and assets
- Logs and release information
- Build and test results
- Installation and configuration changes
Requirements
- Bash shell
- Unity CLI or permission to install it
- com.unity.pipeline package for live Editor control
- Unity 6.0 or later for the Pipeline package
