diff --git a/Mirror/Editor/NetworkScenePostProcess.cs b/Mirror/Editor/NetworkScenePostProcess.cs index b8ca5c0d9..e7d0564fc 100644 --- a/Mirror/Editor/NetworkScenePostProcess.cs +++ b/Mirror/Editor/NetworkScenePostProcess.cs @@ -130,11 +130,11 @@ public static void OnPostProcessScene() // // note: this can still fail if DontDestroyOnLoad is called for a // NetworkIdentity - but no one should ever do that anyway. - List uvs = FindObjectsOfType().ToList(); - uvs.Sort(CompareNetworkIdentitySiblingPaths); + List identities = FindObjectsOfType().ToList(); + identities.Sort(CompareNetworkIdentitySiblingPaths); uint nextSceneId = 1; - foreach (NetworkIdentity identity in uvs) + foreach (NetworkIdentity identity in identities) { // if we had a [ConflictComponent] attribute that would be better than this check. // also there is no context about which scene this is in.