Table of Contents

Method BuildBaseDetached

Namespace
GrindFest.Content.Editor
Assembly
GrindFest.dll

BuildBaseDetached(bool, string)

Starts BuildBase(bool) on the next editor tick and returns at once, writing the report to a file when it finishes.

Why this exists: the build runs on the main thread for ~12 minutes, and every synchronous way of asking for it is a twelve-minute block. The editor looks frozen, and anything that talks to the editor over a pipe — the agent bridge, a CI step, a menu click — sits on that pipe for the whole build with Unity perfectly healthy and nothing in either log to say so. Measured 19.09.2026 while tuning this: an agent call waited out the build and had to have its client restarted, twice, because the wait is indistinguishable from a hang. Detaching makes the wait the caller's choice: poll RunningMarkerPath, then read DetachedResultPath.

public static void BuildBaseDetached(bool force = false, string resultFile = null)

Parameters

force bool
resultFile string