Skip to content

Releases: Xytabich/UNet

Udon version update

19 Jun 01:40
Compare
Choose a tag to compare
u2.1.0

Update to new Udon version

SByte encoding fix

16 Jul 18:39
Compare
Choose a tag to compare
  • Fixed incorrect sbyte encoding

SByte encoding fix

16 Jul 18:47
Compare
Choose a tag to compare
  • Fixed incorrect sbyte encoding

Version for Katsudon

21 Nov 02:20
Compare
Choose a tag to compare

UNet implementation for Katsudon.

  • Removed NetworkInterface as unnecessary. All actions are now in NetworkManager.
  • Events have been reworked and moved to NetworkManager.
  • ByteBufferWriter and ByteBufferReader now implement static methods.

Udon Networking update

22 May 00:44
e47b4bc
Compare
Choose a tag to compare

Removed:

  • The logic of unreliable messages has been completely removed, since udon now supports the necessary functionality

Added:

  • Events of the end of sending messages
  • Ability to cancel message delivery

Changes:

  • The number of connections has been increased to 64.
  • Now the sending methods return the id of the message
  • The maximum message size has been increased to 512 bytes, and a packet to 2048 bytes

Fixes:

  • Fixed a possible situation in which messages could not be delivered to players if messages were sent to only one target for a very long time

Moving to Array api

12 Mar 09:35
Compare
Choose a tag to compare

Changes

  • Some array operations, such as searching or copying, have been reworked to use array methods, which has slightly increased performance.
  • It is now possible to transfer data buffers of any size to methods (previously there was a restriction due to the way data is copied).

Float encoding & send fixes

16 Feb 02:14
Compare
Choose a tag to compare

Fixes

  • Fixed a bug with incorrect use of the mask for attempts to send reliable messages. This slowed down the rate at which messages were sent, resulting in a drop in throughput.
  • Fixed incorrect encoding/decoding of single precision floating point numbers. Numbers with multiples of two were encoded incorrectly, which could lead to a halving of the total value.

Small fixes and changes

14 Feb 08:29
Compare
Choose a tag to compare

Fixes:

  • Added check, when receiving a message, whether the network is initialized (sometimes messages arrive faster than the ownership event)

Changes:

  • Added an exception if the input buffer is too large

Fixes and optimizations

09 Feb 20:45
Compare
Choose a tag to compare

Removed

  • Confirmation of connection does not affect anything, it was removed as unnecessary.

Changes

  • The "Flush not fit unreliable" parameter has been removed. Now the system tries to pack all messages, everything that does not fit is deleted.
  • Some code optimizations.

Fixes

  • Reliable messages have been reworked. Some of the first messages may not have been delivered, which is not "reliable".
  • Sequenced reliable messages have also been reworked. Now they work according to a simpler and faster algorithm.

OnUNetConnected event changes

02 Feb 22:14
Compare
Choose a tag to compare

Changes

  • OnUNetConnected will now only fire when a new player is ready to receive messages. Previously, some messages sent during OnUNetConnected did not reach the destination and were lost. Now the connected client sends a confirmation that it is ready to receive network messages. It takes some time, so the event will be triggered with a delay relative to the Udon event.