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

fix: NetworkTransform synchronize position when half float precision is enabled #2845

Closed NoelStephensUnity closed 2 months ago

NoelStephensUnity commented 3 months ago

Resolves an issue discovered internally where under certain conditions the base position used when half float precision is enabled could not get properly synchronized.

Changelog

Testing and Documentation

ShadauxCat commented 3 months ago

This makes me realize we should test all these things (unreliable, half-float, etc) with AnticipatedNetworkTransform. In theory it should support them, but I didn't think to test that.