@modoki/engine / index / ensureManifestLoaded
Function: ensureManifestLoaded()
ensureManifestLoaded(
url):Promise<AssetManifestFile|null>
Fetch a manifest from url and merge it into the guid→path map. Memoized: repeated calls return the same in-flight/settled promise, so every boot path (game shell + editor + font loader) can await it without re-fetching.
This MUST be awaited before the first scene/asset load — otherwise GUID references resolve against an empty map and every mesh/material comes back undefined (missing meshes, black primitives). Returns the parsed manifest so callers can reuse it (e.g. font discovery) without a second fetch.
Parameters
url
string
Returns
Promise<AssetManifestFile | null>