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: com.unity.netcode.gameobjects/CHANGELOG.md
+1Lines changed: 1 addition & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -13,6 +13,7 @@ Additional documentation and release notes are available at [Multiplayer Documen
13
13
14
14
### Fixed
15
15
16
+
- Fixed an issue where `UnityTransport` would not accept single words as valid hostnames (notably "localhost").
16
17
- Fixed issue where viewing a `NetworkBehaviour` with one or more `NetworkVariable` fields could throw an exception if running a distributed authority network topology with a local (DAHost) host and viewed on the host when the host is not the authority of the associated `NetworkObject`. (#3578)
17
18
- Fixed issue when using a distributed authority network topology and viewing a `NetworkBehaviour` with one or more `NetworkVariable` fields in the inspector view would not show editable fields. (#3578)
/// <returns>A <see cref="NetworkConnection"/> representing the connection to the server, or an invalid connection if the connection attempt fails.</returns>
// If it's not valid, assure it meets FQDN standards
756
-
if(!IsValidFqdn(ConnectionData.Address))
757
-
{
758
-
// If not then log an error and return false
759
-
Debug.LogError($"Listen network address ({ConnectionData.Address}) is not a valid {NetworkFamily.Ipv4} or {NetworkFamily.Ipv6} address!");
760
-
}
761
-
else
762
-
{
763
-
Debug.LogError($"While ({ConnectionData.Address}) is a valid Fully Qualified Domain Name, you must use a valid {NetworkFamily.Ipv4} or {NetworkFamily.Ipv6} address when binding and listening for connections!");
764
-
}
765
701
returnfalse;
766
-
#else
767
-
Debug.LogError($"Network listen address ({ConnectionData.Address}) is {nameof(NetworkFamily.Invalid)}!");
Assert.False(m_Server.StartServer(),"Server failed to detect invalid endpoint!");
69
-
Assert.False(m_Clients[0].StartClient(),"Client failed to detect invalid endpoint!");
70
-
#if HOSTNAME_RESOLUTION_AVAILABLE
71
-
LogAssert.Expect(LogType.Error,$"Listen network address ({m_Server.ConnectionData.Address}) is not a valid {Networking.Transport.NetworkFamily.Ipv4} or {Networking.Transport.NetworkFamily.Ipv6} address!");
72
-
LogAssert.Expect(LogType.Error,$"Target server network address ({m_Clients[0].ConnectionData.Address}) is not a valid Fully Qualified Domain Name!");
0 commit comments