Fix missing initialization of scene objects added from prefab

#1924
This commit is contained in:
Wojtek Figat
2023-11-19 20:26:14 +01:00
parent fc2d9a745f
commit d90a0aa3f4
3 changed files with 11 additions and 0 deletions

View File

@@ -1064,6 +1064,7 @@ bool Level::loadScene(rapidjson_flax::Value& data, int32 engineBuild, Scene** ou
}
}
}
prefabSyncData.InitNewObjects();
}
// /\ all above this has to be done on an any thread