Releases: needle-mirror/com.unity.transport
Releases · needle-mirror/com.unity.transport
1.0.0-pre.12
[1.0.0-pre.12] - 2022-01-24
Fixes
- Clean up changelog for package promotion.
[1.0.0-pre.11] - 2022-01-24
Changes
- Updated to Burst 1.6.4.
- Updated to Mathematics 1.2.5.
- Documentation has been moved to the offical multiplayer documentation site.
Fixes
- Fixed a division by zero in
SimulatorPipelineStage
whenPacketDropInterval
is set. - Don't warn when receiving repeated connection accept messages (case 1370591).
- Fixed an exception when receiving a data message from an unknown connection.
1.0.0-pre.10
[1.0.0-pre.10] - 2021-12-02
Fixes
- On fragmented and reliable pipelines, sending a large packet when the reliable window was almost full could result in the packet being lost.
- Fixed "pending sends" warning being emitted very often when sending to remote hosts.
1.0.0-pre.9
[1.0.0-pre.9] - 2021-11-26
Changes
- Disabled Roslyn Analyzers provisionally
Fixes
- Fixed: Compiler error due to Roslyn Analyzers causing a wrong compiler argument
1.0.0-pre.8
[1.0.0-pre.8] - 2021-11-18
Changes
- Creating a pipeline with
FragmentationPipelineStage
afterReliableSequencedPipelineStage
is now forbidden (will throw an exception if collections checks are enabled). That order never worked properly to begin with. The reverse order is fully supported and is the recommended way to configure a reliable pipeline with support for large packets. - Added
NetworkSettings
struct and API for defining network parameters. See NetworkSettings documentation for more information. - Added Roslyn Analyzers for ensuring proper extension of NetworkParameters and NetworkSettings API.
- Update Collections package to 1.1.0
Fixes
- Fixed: Error message when scheduling an update on an unbound
NetworkDriver
(case 1370584) - Fixed:
BeginSend
wouldn't return an error if the required payload size was larger than the supported payload size when close to the MTU - Fixed: Removed boxing in
NetworkDriver
initialization by passingNetworkSettings
parameter instead ofINetworkParameter[]
- Fixed a crash on XboxOne(X/S) when using the fragmentation pipeline (case 1370473)
Upgrade guide
INetworkPipelineStage
andINetworkInterface
initialization methods now receive aNetworkSettings
parameter instead ofINetworkParameter[]
.
1.0.0-pre.7
[1.0.0-pre.7] - 2021-10-21
Changes
- Some public APIs that should have always been internal are now internal (
Base64
,SHA256
,HMACSHA256
,NetworkEventQueue
,UdpCHeader
,UdpCProtocol
,SessionIdToken
,NativeMultiQueue
).
Fixes
- Fixed: Couldn't send a payload of the configured payload size on fragmented pipelines
1.0.0-pre.6
[1.0.0-pre.6] - 2021-10-14
New features
- Added heartbeats functionality to all protocols (enabled by default). If there's no traffic on a connection for some time, a heartbeat is automatically sent to keep the connection alive. The inactivity timeout is controlled by the new parameter
heartbeatTimeoutMS
inNetworkConfigParameter
. Setting it to 0 disables the feature.
Changes
- Added
heartbeatTimeoutMS
inNetworkConfigParameter
to support heartbeats (see above). NetworkDriver.Bind
is now synchronous when using Relay (matches behavior of other protocols).NetworkDriver.Bind
is not required to be called anymore for Relay clients (only for host).EndSend
will now return an error if called with a writer that has failed writes.- MTU decreased to 1384 (from 1400) on Xbox platforms.
Connect
will automatically bind the driver if not already bound. This was already done implicitly before, but now it's explicit (theNetworkDriver.Bound
property will be true after a successful call toConnect
).- Added
DataStream.ReadLong
Fixes
- Fixed: Receiving a Disconnect message on DTLS would crash the receive job
- Fixed: TLS server name might be set to nothing in Relay+DTLS, causing the handshake to fail
- Fixed: Couldn't send large messages on fragmented pipeline if
requiredPayloadSize
was not provided toBeginSend
- Fixed: DTLS handshake messages were never resent if lost
- Fixed: Clients wouldn't honor the endpoint their were bound to
Known issues
- Function pointers (for instance in
BeginSend
andEndSend
) generate GC allocations in non-Burst use cases. The issue will be fixed in the next releases - XboxOne(S/X) crash when using fragmentation pipeline when the size of the packet is within 100 bytes of the MTU. This will be fixed in the next release
1.0.0-pre.5
[1.0.0-pre.5] - 2021-09-16
Fixes
- Fixed: Socket never created on unbound DTLS clients (causes handshake to fail)
- Fixed: When using DTLS it would not properly read data packets
- Fixed: When using DTLS it could possibly fail to send a packet that was at the MTU size.
1.0.0-pre.4
[1.0.0-pre.4] - 2021-09-07
New features
Changes
Fixes
- Fixed: Updated collection types in
SecureNetworkProtocol.cs
- Fixed: Fixed race condition between UTP and Relay disconnects
- Fixed: Relay not being able to use the fragmentation pipelinestage
Upgrade guide
1.0.0-pre.3
[1.0.0-pre.3] - 2021-09-01
New features
- Removed references of TransportSamples from readme as they are not currently included in the package
- Stripping out un-needed files from the package
Changes
Fixes
Upgrade guide
1.0.0-pre.2
[1.0.0-pre.2] - 2021-08-23
New features
- Upgraded collections to 1.0.0-pre.5
- Added support for Secure Protocol while using Unity Relay
Changes
Fixes
Upgrade guide
[1.0.0-pre.1] - 2021-07-29
New features
- Moving into pre-release
- Added Secure Protocol support (TLS/DTLS) to allow for encrypted and secure connections.
- Unity Transport package now supports connecting to the Unity Relay Service. See Unity Relay for more information.
- Upgraded burst to 1.5.5
Changes
Fixes
Upgrade guide
[0.9.0] - 2021-05-10
New features
- Added support for long serialization and delta compression.
- Upgraded collections to 1.0.0-pre.1
- Added a new network interface for WebSockets, can be used in both native and web builds.
Changes
- Minimum required Unity version has changed to 2020.3.0f1.
- The transport package can be compiled with the tiny c# profile and for WebGL, but WebGL builds only support IPC - not sockets.
Fixes
Upgrade guide
[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.