Releases: Unity-Technologies/com.unity.netcode.gameobjects
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.
NetworkedObject Custom Inspector
This release is minor. It adds a custom inspector to the NetworkedObject component but also includes minor API changes.
Object Spawning
This release fixes many issues with the ObjectSpawning system.
It also adds a BinaryIgnore attribute that can be used on fields to make them ignored during serialization.
It also adds send overloads that use serialization. Deserialization still has to be done manually.
Binary Serializer
This release adds a Binary Serializer for use by library users. Not yet in use by the library.
Encryption
This release adds encryption with a ECDH-E Key exchange that is signed with RSA, messages gets encrypted with AES.
Also fixes some problems with SyncedVars.
The libraries Encryption parts will not function without the IntX library for now.