Skip to content

Releases: Xytabich/UNet

Some fixes & improvements

04 Jan 22:02
Compare
Choose a tag to compare

Changes

  • Added constants for more readable code.
  • The size of the mask (in bytes) for specifying the multi-send target now depends on the number of Connection objects. It used to be 4 bytes in size, now the size is reduced with a small number of players, which saves traffic.

Fixes

  • Fixed variable-length UInt32 serialization.

1.1.1

27 Dec 06:07
Compare
Choose a tag to compare

Changes

  • Renamed Network Prefab to UNetInstance.

Additions

  • Added ByteBufferReader and ByteBufferWriter to help serialize data.
  • Added the OnUNetPrepareSend event.
  • Added error log if there is not enough connection for a new player.
  • Added cleaning of unreliable messages that did not fit in the packet. Switching of this mode is available on the Socket.

Fixes

  • Fixed sending queue, now sending starts with reliable messages. This corrected the situation when the size of a reliable message was close to the maximum, which did not allow inserting it into the packet, since the unreliable message was already there.
  • Fixed socket initialization, now its initialization directly when connecting locally.

First release

23 Dec 15:31
Compare
Choose a tag to compare
1.0.0

Merge remote-tracking branch 'origin/master'