Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 3 additions & 1 deletion com.unity.multiplayer.mlapi/Editor/PostProcessScene.cs
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,9 @@ public class NetworkScenePostProcess : MonoBehaviour
[PostProcessScene(int.MaxValue)]
public static void ProcessScene()
{
var traverseSortedObjects = FindObjectsOfType<NetworkObject>().ToList();
// find all scene objects that have not been spawned yet
// TODO: long term, replace the means of finding candidate objects to repace FindObjectsOfType
var traverseSortedObjects = FindObjectsOfType<NetworkObject>().Where(x => x.IsSceneObject == null).ToList();
Comment thread
mattwalsh-unity marked this conversation as resolved.

traverseSortedObjects.Sort((x, y) =>
{
Expand Down