You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: releases/transport/transport-1-0-0+.md
+31Lines changed: 31 additions & 0 deletions
Original file line number
Diff line number
Diff line change
@@ -5,25 +5,55 @@ id: transport-1-0-0
5
5
6
6
The [Unity Transport](../../transport/current/about)`com.unity.transport` package respository adds multiplayer and network features to your project. See the following changelog for new features, updates, fixes, and upgrade information.
7
7
8
+
## [1.3.0] - 2022-09-27
9
+
10
+
### New features
11
+
12
+
* Added a way to obtain `RelayAllocationId`, `RelayConnectionData`, and `RelayHMACKey` structures from byte arrays using the static `FromByteArray` method.
13
+
* Added a new constructor for `RelayServerData` that is now provided with argument types that better match those available in the models returned by the [Relay SDK](https://docs.unity.com/relay/SDK/sdk.html). **Note**: We also updated the "RelayPing" sample to use the new constructor.
14
+
* Added new constructors for `RelayServerData` that are provided with argument types that better match those available in the models returned by the [Relay SDK](https://docs.unity.com/relay/SDK/sdk.html). **Note**: We also updated the "RelayPing" sample to use the new constructor.
15
+
* Updated `NetworkSettings` to include a `IsCreated` property that can be used to check if it's been disposed of or not.
16
+
* Added new versions of `NetworkSettings.WithSecureClientParameters` and `NetworkSettins.WithSecureServerParameters` . These new versions take strings as parameters instead of references to fixed strings. The older versions are still available and fully supported.
17
+
* Added a new version of `NetworkSettings.WithSecureClientParameters` that only takes the server name as a parameter. You can use this when the server uses certificates from a recognized CA (certificate authority).
18
+
19
+
### Changes
20
+
21
+
* Added a warning that triggers if binding to a port where another application is listening. The binding operation still succeeds in that scenario, but this will fail in Unity Transport 2.0 (which disables address reuse on the sockets used by the default interface).
22
+
* Deprecated the constructor for `RelayServerData` that was taking strings for the allocation ID, connection data, and key. Use the new constructor (see above) or the existing lower-level constructor instead.
23
+
* Deprecated the `RelayServerData.ComputeNewNonce` method. You can provide a custom nonce using the "low level" constructor of `RelayServerData`. The new constructor selects a new nonce automatically.
24
+
* Added the option to call `Connect` without an endpoint if you’re using [Relay](https://docs.unity.com/relay) (the endpoint would be ignored anyway). This extension to `NetworkDriver` is provided in the `Unity.Networking.Transport.Relay` namespace.
25
+
26
+
### Fixes
27
+
28
+
* Fixed a possible stack overflow error that occurs if the `receive` or `send` queue parameters are configured with very large values (>15,000).
29
+
* Prevented an issue where a warning about having too many pipeline updates would be spammed after a connection was closed.
30
+
* Fixed an issue where a duplicated reliable packet wouldn't be processed correctly, which could possibly lead to the entire reliable pipeline stage stalling (not being able to send new packets).
31
+
* Fixed an issue where pipeline updates would be run too many times, which would waste CPU and could lead to the warning about having too many pipeline updates being erroneously logged.
32
+
* Fixed issues with `ReliableSequencePipelineStage` that would, in rare circumstances, lead to failure to deliver a reliable packet.
33
+
8
34
## [1.2.0] - 2022-08-16
9
35
10
36
### Fixes
37
+
11
38
* Fixed a lag issue with iOS when switching app from being in background to resuming use.
12
39
13
40
## [1.1.0] - 2022-06-14
14
41
15
42
### New features
43
+
16
44
* A `DataStreamReader` can now be passed to another job without triggering the job safety system.
17
45
* A `GetRelayConnectionStatus` method has been added to `NetworkDriver` to query the status of the connection to the Relay server.
18
46
19
47
### Changes
48
+
20
49
*`NetworkSettings.WithDataStreamParameters` is now obsolete. The functionality still works and will remain supported for version 1.X of the package, but will be removed in version 2.0. The reason for the removal is that in 2.0 the data stream size is always dynamically-sized to avoid out-of-memory errors.
21
50
*`NetworkSettings.WithPipelineParameters` is now obsolete. The functionality still works and will remain supported for version 1.X of the package, but will be removed in version 2.0, where pipeline buffer sizing is handled internally.
22
51
* Updated Burst dependency to 1.6.6.
23
52
* Updated Collections dependency to 1.2.4.
24
53
* Updated Mathematics dependency to 1.2.6.
25
54
26
55
### Fixes
56
+
27
57
*`BeginSend` would not return an error if called on a closed connection before the next `ScheduleUpdate` call.
28
58
* Fixed a warning if using the default maximum payload size with DTLS.
29
59
* Removed an error log when receiving messages on a closed DTLS connection (this scenario is common if there were in-flight messages at the moment of disconnection).
@@ -32,4 +62,5 @@ The [Unity Transport](../../transport/current/about) `com.unity.transport` packa
0 commit comments