金色时刻 · 15:48
让好资源,触手可及
AGENT SKILL

uloop-compile

uloop-compile 是面向效率工具的 Agent Skill,来自 hatayama/uLoopMCP。查看技能说明、操作步骤与使用约定,并通过原项目了解详细用法。

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.

SKILL.md

下载 MD ↓
nameuloop-compile
descriptionCompile 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.

来源:hatayama/uLoopMCP · MIT 许可 · 许可原文 · MD 为来源页保存的历史版本