unity_build
Build a Unity project for a selected target platform and output path, with optional scenes and development settings.
Instructions
Build the project for a target platform.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| port | No | Unity instance port (from unity_select_instance). Always include it when multiple instances run. | |
| scenes | No | Scene paths; default: enabled Build Settings scenes | |
| target | Yes | Platform | |
| outputPath | Yes | Build output path | |
| developmentBuild | No | Development build (default: false) | |
| managedCodeVariant | No | Unity 6.6+, protocol 3. Default: Checked for Development, Release otherwise. This build only. |