Only refresh collision world if scene is ready and NPC colliders changed
This commit is contained in:
@@ -5253,7 +5253,7 @@ export class RuntimeHost {
|
||||
this.activeScheduledImpulseRoutineIds =
|
||||
syncResult.nextActiveImpulseRoutineIds;
|
||||
|
||||
if (syncResult.npcColliderCollectionChanged) {
|
||||
if (syncResult.npcColliderCollectionChanged && this.sceneReady) {
|
||||
this.refreshCollisionWorldForNpcSchedule();
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user