Uloop compile

From kurotu/VRCQuestTools · View interactive version

Uloop compile is an AI agent skill from the GitHub repository kurotu/VRCQuestTools. Compile the Unity project and report errors/warnings. Use after C# edits or when a full Domain Reload compile is needed.

How to use this skill

Skill file

npx --yes uloop-cli@2.2.0 compile

Execute Unity project compilation.

Usage

npx --yes uloop-cli@2.2.0 compile [--force-recompile] [--wait-for-domain-reload]

Parameters

| Parameter | Type | Default | Description |

|-----------|------|---------|-------------|

| --force-recompile | boolean | false | Force full recompilation (triggers Domain Reload) |

| --wait-for-domain-reload | boolean | false | Wait until Domain Reload completes before returning |

Global Options

| Option | Description |

|--------|-------------|

| --project-path <path> | Optional. Use only when the target Unity project is not the current directory. |

Examples

# Check compilation
npx --yes uloop-cli@2.2.0 compile

# Force full recompilation
npx --yes uloop-cli@2.2.0 compile --force-recompile

# Force recompilation and wait for Domain Reload completion
npx --yes uloop-cli@2.2.0 compile --force-recompile true --wait-for-domain-reload true

# Wait for Domain Reload completion even without force recompilation
npx --yes uloop-cli@2.2.0 compile --force-recompile false --wait-for-domain-reload true

Output

Returns JSON:

Troubleshooting

Diagnose the failure mode before retrying.

Stale lock files (CLI hangs or shows "Unity is busy" while Unity Editor is running):

npx --yes uloop-cli@2.2.0 fix

This removes any leftover lock files (compiling.lock, domainreload.lock, serverstarting.lock) from the Unity project's Temp directory. Then retry npx --yes uloop-cli@2.2.0 compile.

Unity Editor not running (CLI returns a connection failure and no Unity process is alive):

npx --yes uloop-cli@2.2.0 launch

npx --yes uloop-cli@2.2.0 launch auto-detects the project at the current working directory and opens it in the matching Unity Editor version. After Unity finishes launching, retry npx --yes uloop-cli@2.2.0 compile.

Use this skill with your AI agent: Open on Skill Issue to copy, download, or add to your library. Works with Claude, ChatGPT, Gemini, Cursor, Windsurf and more.