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: player prefab null exception when using prefab hash via connection approval #3042
This PR resolves the issue where if you do not have a player prefab assigned but do have prefab hash provided in the connection approval process it would cause and exception to be thrown (due to the lack of the player prefab assignment).
(needs to be backported to v1.x)
fix: #3032
Changelog
Fixed: Issue where setting a prefab hash value during connection approval but not having a player prefab assigned could cause an exception when spawning a player.
Testing and Documentation
Includes integration test updates to ConnectionApproval.
No documentation changes or additions were necessary.
This PR resolves the issue where if you do not have a player prefab assigned but do have prefab hash provided in the connection approval process it would cause and exception to be thrown (due to the lack of the player prefab assignment). (needs to be backported to v1.x)
fix: #3032
Changelog
Testing and Documentation
ConnectionApproval
.