Skip to content

Commit 6ae793a

Browse files
authored
fix: UTP test that was failing when you install Unity Transport package 2.0.0 or newer (#2616)
* removing unused log assert * Update CHANGELOG.md * bumping package version to 1.5.2 * adding the unreleased header in changelog
1 parent 54666c3 commit 6ae793a

File tree

3 files changed

+11
-4
lines changed

3 files changed

+11
-4
lines changed

com.unity.netcode.gameobjects/CHANGELOG.md

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,15 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/)
66

77
Additional documentation and release notes are available at [Multiplayer Documentation](https://docs-multiplayer.unity3d.com).
88

9+
## [Unreleased]
10+
11+
### Added
12+
13+
### Fixed
14+
- Fixed a failing UTP test that was failing when you install Unity Transport package 2.0.0 or newer.
15+
16+
## Changed
17+
918
## [1.5.1] - 2023-06-07
1019

1120
### Added

com.unity.netcode.gameobjects/Tests/Editor/Transports/UnityTransportTests.cs

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -121,9 +121,7 @@ public void UnityTransport_RestartSucceedsAfterFailure()
121121

122122
LogAssert.Expect(LogType.Error, "Invalid network endpoint: 127.0.0.:4242.");
123123
LogAssert.Expect(LogType.Error, "Network listen address (127.0.0.) is Invalid!");
124-
#if UTP_TRANSPORT_2_0_ABOVE
125-
LogAssert.Expect(LogType.Error, "Socket creation failed (error Unity.Baselib.LowLevel.Binding+Baselib_ErrorState: Invalid argument (0x01000003) <argument name stripped>");
126-
#endif
124+
127125
transport.SetConnectionData("127.0.0.1", 4242, "127.0.0.1");
128126
Assert.True(transport.StartServer());
129127

com.unity.netcode.gameobjects/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
"name": "com.unity.netcode.gameobjects",
33
"displayName": "Netcode for GameObjects",
44
"description": "Netcode for GameObjects is a high-level netcode SDK that provides networking capabilities to GameObject/MonoBehaviour workflows within Unity and sits on top of underlying transport layer.",
5-
"version": "1.5.1",
5+
"version": "1.5.2",
66
"unity": "2020.3",
77
"dependencies": {
88
"com.unity.nuget.mono-cecil": "1.10.1",

0 commit comments

Comments
 (0)