Skip to content

Commit 8e39543

Browse files
committed
Ordered found network object prefabs in generator to reduce churn in project repos (between Windows/macOS editors).
1 parent 986caa1 commit 8e39543

File tree

1 file changed

+1
-0
lines changed
  • Assets/FishNet/Runtime/Editor/PrefabCollectionGenerator

1 file changed

+1
-0
lines changed

Assets/FishNet/Runtime/Editor/PrefabCollectionGenerator/Generator.cs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -325,6 +325,7 @@ internal static List<NetworkObject> GetNetworkObjects(List<SpecifiedFolder> spec
325325
foreach (SpecifiedFolder sf in specifiedFolders)
326326
foundNobs.AddRange(GetNetworkObjects(sf, settings));
327327

328+
foundNobs = foundNobs.OrderBy(nob => nob.AssetPathHash).ToList();
328329
return foundNobs;
329330
}
330331

0 commit comments

Comments
 (0)