Unity-Technologies / com.unity.netcode.gameobjects

Netcode for GameObjects is a high-level netcode SDK that provides networking capabilities to GameObject/MonoBehaviour workflows within Unity and sits on top of underlying transport layer.
MIT License
2.15k stars 435 forks source link

fix: alternate player spawning no players or networkclient player registration #3122

Closed NoelStephensUnity closed 1 week ago

NoelStephensUnity commented 1 week ago

This resolves the issue where using NetworkObject.InstantiateAndSpawn or NetworkSpawnManager.InstantiateAndSpawn would not properly populate the NetworkSpawnManager.PlayerObjects or the NetworkClient.PlayerObject.

Changelog

Testing and Documentation