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.1k stars 430 forks source link

refactor: Ensure lengths are always written as uints #2946

Closed EmandM closed 3 weeks ago

EmandM commented 3 weeks ago

In order to unserialize and manage network variables on CMB, we need to know the type of values being serialized inside C#. This PR adds some helper logic to ensure that lengths are getting serialized with a consistent type.

MPSNGM-274

Changelog

Testing and Documentation