uloop-compile

star 1

Compile Unity project via uloop CLI. Use when you need to: (1) Verify C# code compiles successfully after editing scripts, (2) Check for compile errors or warnings, (3) Validate script changes before running tests.

hatayama By hatayama schedule Updated 12/28/2025

name: uloop-compile description: Compile Unity project via uloop CLI. Use when you need to: (1) Verify C# code compiles successfully after editing scripts, (2) Check for compile errors or warnings, (3) Validate script changes before running tests.

uloop compile

Execute Unity project compilation.

Usage

uloop compile [--force-recompile]

Parameters

Parameter Type Description
--force-recompile boolean Force full recompilation (triggers Domain Reload)

Examples

# Check compilation
uloop compile

# Force full recompilation
uloop compile --force-recompile

Output

Returns JSON:

  • Success: boolean
  • ErrorCount: number
  • WarningCount: number

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:

uloop fix

This removes any leftover lock files (compiling.lock, domainreload.lock, serverstarting.lock) from the Unity project's Temp directory.

Install via CLI
npx skills add https://github.com/hatayama/uLoopMCP-extensions-sample --skill uloop-compile
Repository Details
star Stars 1
call_split Forks 0
navigation Branch main
article Path SKILL.md
More from Creator