diff --git a/QSB/PoolSync/PoolManager.cs b/QSB/PoolSync/PoolManager.cs index 7f3bf94e..f4facb37 100644 --- a/QSB/PoolSync/PoolManager.cs +++ b/QSB/PoolSync/PoolManager.cs @@ -1,4 +1,5 @@ using Cysharp.Threading.Tasks; +using QSB.Utility; using QSB.WorldSync; using System.Threading; @@ -10,17 +11,17 @@ namespace QSB.PoolSync public override async UniTask BuildWorldObjects(OWScene scene, CancellationToken ct) { - foreach (var streaming in QSBWorldSync.GetUnityObjects()) + foreach (var streaming in QSBWorldSync.GetUnityObjects().SortDeterministic()) { streaming.gameObject.AddComponent(); } - foreach (var camera in QSBWorldSync.GetUnityObjects()) + foreach (var camera in QSBWorldSync.GetUnityObjects().SortDeterministic()) { camera.gameObject.AddComponent(); } - foreach (var platform in QSBWorldSync.GetUnityObjects()) + foreach (var platform in QSBWorldSync.GetUnityObjects().SortDeterministic()) { platform.gameObject.AddComponent(); }