Uloop Compile

Compile Unity project. Use when: verifying code compiles after edits, checking for compile errors, or when user asks to compile. Returns error/warning counts.

majiayu000 Updated 567 repo stars

File contents

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.

majiayu000/claude-skill-registry-data/tree/main/data/uloop-compile commit aef70f97b5

Frequently asked questions

npx skillmds@latest add majiayu000/uloop-compile