We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 6ee768f commit c035075Copy full SHA for c035075
com.unity.netcode.gameobjects/Runtime/SceneManagement/SceneEventData.cs
@@ -326,7 +326,7 @@ internal void AddSpawnedNetworkObjects()
326
{
327
var spawnedObject = sobj;
328
// Don't synchronize objects that have pending visibility as that will be sent as a CreateObjectMessage towards the end of the current frame
329
- if (TargetClientId != NetworkManager.ServerClientId && m_NetworkManager.SpawnManager.IsObjectVisibilityPending(TargetClientId,ref spawnedObject))
+ if (TargetClientId != NetworkManager.ServerClientId && m_NetworkManager.SpawnManager.IsObjectVisibilityPending(TargetClientId, ref spawnedObject))
330
331
continue;
332
}
0 commit comments