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: ownership change halfprecision, session owner onclientconnected, and minor optimizations #2948

Closed NoelStephensUnity closed 2 weeks ago

NoelStephensUnity commented 2 weeks ago

This PR resolves issues with the current base position not being synchronized properly when using half float precision and ownership changes as well as the OnClientConnected callback not being triggered on a session owner when create a new distributed authority session.

It also includes some minor message processing optimizations and (for performance purposes) the clients owned objects is now returned as an array.

This also includes some final minor updates in preparation for pre-release.

fix: #2800

Changelog

Testing and Documentation