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: exception thrown when rpc received for depsawned object (back-port) #3055

Closed NoelStephensUnity closed 2 months ago

NoelStephensUnity commented 2 months ago

Backported from #3052 This resolves the issue where an exception is thrown if universal RPC is received after a NetworkObject has been despawned. Now it logs a warning if developer logging is enabled otherwise it just silently ignores the RPC.

MTTB-361 fix: #3007

Changelog

Testing and Documentation