0.8.0-preview.8
Pre-release
Pre-release
[0.8.0] - 2021-03-23
New features
- Added overloads of
PopEvent
andPopEventForConnection
which return the pipeline used as an out parameter.
Changes
Fixes
- Fixed some compatility issues with tiny.
- Fixed a crash when sending messages slightly less than one MTU using the fragmentation pipeline.
- Fixed a bug causing
NetworkDriver.RemoteEndPoint
to return an invalid value when using the default network interface.
Upgrade guide
[0.7.0] - 2021-02-05
New features
- Added
DataStreamWriter.WriteRawbits
andDataStreamWriter.ReadRawBits
for reading and writing raw bits from a data stream.
Changes
- Optimized the
NetworkCompressionModel
to find buckets in constant time. - Changed the error behavior of
DataStreamReader
to be consistent between the editor and players.
Fixes
- Fixed a crash when receiving a packet with an invalid pipeline identifier
Upgrade guide
[0.6.0] - 2020-11-26
New features
- An error handling pass has been made and
Error.StatusCode
have been added to indicate more specific errors. Error.DisconnectReason
has been added, so when NetworkDriver.PopEvent returns aNetworkEvent.Type.Disconnect
the reader returned contains 1 byte of data indicating the reason.
Changes
- The function signature for NetworkDriver.BeginSend has changed. It now returns a
int
value indicating if the function succeeded or not and the DataStreamWriter now instead is returned as aout
parameter. - The function signature for INetworkInterface.Initialize has changed. It now requires you to return a
int
value indicating if the function succeeded or not. - The function signature for INetworkInterface.CreateInterfaceEndPoint has changed. It now requires you to return a
int
value indicating if the function succeeded or not, and NetworkInterfaceEndPoint is now returned as aout
parameter.
Fixes
- Fixed a potential crash when receiving a malformated packet.
- Fixed an issue where the DataStream could sometimes fail writing packet uints before the buffer was full.
Upgrade guide
NetworkDriver.BeginSend
now returns aint
indicating aError.StatusCode
, and theDataStreamWriter
is passed as anout
parameter.