com.unity.transport 2.0.0-pre.2
Notes: processedReleased November 15, 2022
Unity Compatibility
Minimum Unity: 2022.2 (0a18)
Package Dependencies
🔄 Changes
- The return code of `NetworkDriver.Bind` and `NetworkDriver.Listen` is now a proper value from the `Error.StatusCode` enum, instead of a seemingly random negative value.
- If the connection to the Relay server fails (e.g. the DTLS handshake fails), then the connection status returned by `NetworkDriver.GetRelayConnectionStatus` will now be `AllocationInvalid`. It used to remain `NotEstablished` which would leave no way for a user to determine that the connection had failed.
- Status codes `NetworkHeaderInvalid` and `NetworkArgumentMismatch` are now marked as obsolete. Nothing in the API returns these status codes anymore.
🔧 Bug Fixes
- Fixed `IndexOutOfRangeException` when connecting a driver configured with IPC interface and Relay. This case is not valid and now fails with a `InvalidOperationException` when the driver is created.
- Fixed a crash on Android when using the Mono backend.
