Skip to content

SceneLoadCancelled

Defined in: sceneManager.ts:173

Thrown by a load() whose scene slot was replaced — by a concurrent unload() or a superseding load — while its assets were still loading. The load despawns anything it had spawned and rejects with this instead of committing a half-loaded scene, so a load()/unload() race can’t orphan entities.

  • Error

new SceneLoadCancelled(name): SceneLoadCancelled

Defined in: sceneManager.ts:174

string

SceneLoadCancelled

Error.constructor