Skip to content

Releases: Unity-Technologies/com.unity.netcode.gameobjects

Optimization & Transport Changes

27 Apr 09:13
Compare
Choose a tag to compare

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

25 Apr 13:55
Compare
Choose a tag to compare

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

20 Apr 11:36
Compare
Choose a tag to compare

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

19 Apr 17:20
Compare
Choose a tag to compare

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

18 Apr 09:55
Compare
Choose a tag to compare

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

17 Apr 15:10
Compare
Choose a tag to compare

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

02 Apr 07:04
Compare
Choose a tag to compare
Pre-release

This release is minor. It adds a custom inspector to the NetworkedObject component but also includes minor API changes.

Object Spawning

02 Apr 05:01
Compare
Choose a tag to compare
Object Spawning Pre-release
Pre-release

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

31 Mar 23:15
Compare
Choose a tag to compare
Binary Serializer Pre-release
Pre-release

This release adds a Binary Serializer for use by library users. Not yet in use by the library.

Encryption

31 Mar 00:15
a27e4de
Compare
Choose a tag to compare
Encryption Pre-release
Pre-release

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.