unity_trigger_recompile
Refresh Unity's AssetDatabase and trigger script recompilation after writing C# backing classes, eliminating the need to manually switch to the editor.
Instructions
Refresh Unity's AssetDatabase, then ask the Unity editor to recompile all C# scripts via CompilationPipeline.RequestScriptCompilation(). Use after writing a C# backing class to import new/changed files without switching focus to the editor manually. Poll unity_ui_bridge_health.response.isCompiling until false.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| bridgeUrl | No | ||
| classPath | No | Project-local generated C# backing class path to import before compiling. | |
| editorPath | No | ||
| projectPath | Yes | Unity project root. | |
| backingClassPath | No | Alias for classPath. | |
| changedAssetPaths | No | Project-local changed asset paths Unity should import before compiling. |