Table of Contents

Property CanBakeAsync

Namespace
GrindFest
Assembly
GrindFest.dll

CanBakeAsync

Whether a NavMesh bake can run off the main thread on this platform.

public static bool CanBakeAsync { get; }

Property Value

bool

Remarks

A browser cannot: WebAssembly has no managed threads here and UpdateNavMeshDataAsync never completes there (measured 2026-09-20). This is one statement of that fact for this class, asked instead of spelled out as #if UNITY_WEBGL at each use, and OverrideCanBakeAsync is how the WebGL path can be exercised in the editor without waiting for a build - the same shape as Compiler.SupportsRuntimeCompilation and its override.

The same fact is what MapMagic's ThreadManager.useMultithreading = false in GameManager.Awake is about. Those two are the copies of it worth noticing; a shared capability would be the place to put it.