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: prevent exception when showing despawned NetworkObject - up port of #3029 #3030

Closed NoelStephensUnity closed 3 months ago

NoelStephensUnity commented 3 months ago

Up-port of #3029

This resolves an issue where a NetworkObject component could be despawned or its GameObject destroyed in the same frame prior to attempting to show it.

MTTB-377

fix: #3023

Changelog

Testing and Documentation