Releases: Unity-Technologies/com.unity.netcode.gameobjects
Installer Upgrade
This release includes minor fixes but updates the installer to add more features and make it generally more stable.
Relay Support
This version adds support for the MLAPI.Relay and fixes a minor bug where ownerId would be assigned after the NetworkStart method is invoked.
Fixes & Spawn Changes
This release includes many fixes.
It fixes issues regarding the spawn system, BitWriter, BitReader and reworks the NetworkedProximity. It also changes behavior on SyncedVarHook's. They are now invoked on Server instances.
NetworkProfiler & Fixes
This release adds a brand new NetworkProfiler API for profiling bandwidth. It comes with an Editor window. See the wiki article here.
This is now included in the Editor package and will automatically be included by the installer.
This release also adds diff sending to arrays in SyncedVars and fixes an issue causing observer lists not to be populated when not using the observer API.
SyncedVar hotfix
This release fixes a critical issue introduced in v1.2.0 that would cause SyncedVars to not be properly read if there were more than 1 per behaviour. Additionally, it fixes array behaviour in SyncedVars and they are now supported for any type.
It also adds support for custom types in SyncedVars
Proximity & cache hotfix
This release fixes issues regarding the built-in NetworkedProximity where it didn't follow the new API where the HashSet is NOT to be replaced but rather only cleared.
It also fixes a problem regarding caching of Attributed Messages.
This version contains ONLY fixes from v1.2.0 and is recommended.
Fixes and Bandwidth Optimization
This release includes
- Bugfixes
- SyncedVar optimization for non observed objects
- NetworkingManager Send methods
- NetworkingManager Message Handlers
- ConnectedClients API
- BehaviourId public API
- NavMeshAgent bugfixes
- SyncDelay is now per SyncedVar
- SyncedVars no longer have limits, you can have any amount of them. No upper limit.
Optimization & Transport Changes
This release no longer features LiteNetLib as a Built-in transport. You can still use it by downloading the LiteNetLib transport from the "SampleTransports" folder. It does many optimizations and replaces byte[] usage with BitWriter & BitReader. The BitReader & BitWriter are now pooled for greater performance.
Features & Bugfixes
This release fixes many minor bugs.
It also adds
- An observer system
- SyncedVars now sync on spawn
- Custom transports are now supported. LiteNetLib supported out of the box
- Internally the MLAPI now uses BitWriter instead of byte arrays
Command & Rpc
This release fixes a critical issue causing more than 2 players to not properly function.
It also adds a command & rpc attribute messaing system, see the wiki.
It also adds small improvements to the BitWriter to make it faster and more compact.