diff --git a/Assets/Mirror/Core/NetworkServer.cs b/Assets/Mirror/Core/NetworkServer.cs index b3608e8a9..18462317e 100644 --- a/Assets/Mirror/Core/NetworkServer.cs +++ b/Assets/Mirror/Core/NetworkServer.cs @@ -1379,6 +1379,7 @@ static void SpawnObject(GameObject obj, NetworkConnection ownerConnection) identity.netId = NetworkIdentity.GetNextNetworkId(); // add to spawned (after assigning netId) + Debug.Log($"Server: Adding {identity} to spawned with netId={identity.netId}"); spawned[identity.netId] = identity; // callback after all fields were set