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: adding null checks when accessing NetworkBehaviour #3011
Preventing invalid read and write operations when m_NetworkBehaviour is not in a valid state.
Changelog
Fixed issue by adding null checks in NetworkVariableBase.CanClientRead and NetworkVariableBase.CanClientWrite methods to ensure safe access to NetworkBehaviour.
Preventing invalid read and write operations when
m_NetworkBehaviour
is not in a valid state.Changelog
NetworkVariableBase.CanClientRead
andNetworkVariableBase.CanClientWrite
methods to ensure safe access toNetworkBehaviour
.Testing and Documentation