Releases: Unity-Technologies/com.unity.netcode.gameobjects
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.
SyncedVar & Installer Fix
This release fixes some issues regarding the installer. It's now packaged separately. You now only have to import the Installer and let the editor window handle the rest.
It also fixes some issues regarding SyncedVars and removed some heap allocations when calling isLocalPlayer
BitWriter & Target SyncedVar
This release replaces all internal Binary serialization with the new BitWriter. See the wiki for more info
It also adds Targeted SyncedVars, see the wiki for more information.
First stable
This is the first "stable" release. It comes with an Editor script that is used to install, update and manage what MLAPI version is installed. This release includes many major changes. The Editor scripts are now required and will be included when installing the Editor script.
To install, download the MLAPI_Editor Unity package. The installer will automatically download the DLL's and extract the Editor & Gizmo files.
If you have any issues, bugs or feature requests. Open an issue. Note that the wiki will be updated during the next few days.