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: deferred despawn gc allocation #2983

Closed NoelStephensUnity closed 4 months ago

NoelStephensUnity commented 4 months ago

This resolves the issue where checking for deferred despawned NetworkObjects was causing a GC alloc per frame when converting an IEnumerable to a list.

MTTB-83

fix: #2891

Changelog

Testing and Documentation