uloop-compile
Original:🇺🇸 English
Translated
Compile Unity project. Use when: verifying code compiles after edits, checking for compile errors, or when user asks to compile. Returns error/warning counts.
6installs
Sourcehatayama/uloopmcp
Added on
NPX Install
npx skill4agent add hatayama/uloopmcp uloop-compileTags
Translated version includes tags in frontmatterSKILL.md Content
View Translation Comparison →uloop compile
Execute Unity project compilation.
Usage
bash
uloop compile [--force-recompile] [--wait-for-domain-reload]Parameters
| Parameter | Type | Description |
|---|---|---|
| boolean | Force full recompilation (triggers Domain Reload) |
| boolean | Wait until Domain Reload completes before returning |
Global Options
| Option | Description |
|---|---|
| Target a specific Unity project (mutually exclusive with |
| Specify Unity TCP port directly (mutually exclusive with |
Examples
bash
# Check compilation
uloop compile
# Force full recompilation
uloop compile --force-recompile
# Force recompilation and wait for Domain Reload completion
uloop compile --force-recompile true --wait-for-domain-reload true
# Wait for Domain Reload completion even without force recompilation
uloop compile --force-recompile false --wait-for-domain-reload trueOutput
Returns JSON:
- : boolean
Success - : number
ErrorCount - : number
WarningCount
Troubleshooting
If CLI hangs or shows "Unity is busy" errors after compilation, stale lock files may be preventing connection. Run the following to clean them up:
bash
uloop fixThis removes any leftover lock files (, , ) from the Unity project's Temp directory.
compiling.lockdomainreload.lockserverstarting.lock