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 prefabhash connection approval (backport-3042) #3046
Backport of #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).
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.
Backport of #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).
fix: #3032
Changelog
Testing and Documentation
ConnectionApproval
.