From 90e1a84fc3a4ea4d71abfcc4bac7bc2dab578b0c Mon Sep 17 00:00:00 2001 From: Victor Giers Date: Mon, 27 Apr 2026 17:51:28 +0200 Subject: [PATCH] Only refresh collision world if scene is ready and NPC colliders changed --- src/runtime-three/runtime-host.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/runtime-three/runtime-host.ts b/src/runtime-three/runtime-host.ts index ede35674..426fc292 100644 --- a/src/runtime-three/runtime-host.ts +++ b/src/runtime-three/runtime-host.ts @@ -5253,7 +5253,7 @@ export class RuntimeHost { this.activeScheduledImpulseRoutineIds = syncResult.nextActiveImpulseRoutineIds; - if (syncResult.npcColliderCollectionChanged) { + if (syncResult.npcColliderCollectionChanged && this.sceneReady) { this.refreshCollisionWorldForNpcSchedule(); } }