From 037fe454149008756133c3ba45336d53d5fb1b31 Mon Sep 17 00:00:00 2001 From: netcode-automation Date: Mon, 15 Dec 2025 14:29:47 +0100 Subject: [PATCH 1/3] Updated changelog and package version for Netcode in anticipation of v2.8.0 release --- com.unity.netcode.gameobjects/CHANGELOG.md | 35 ++++++++++++++-------- com.unity.netcode.gameobjects/package.json | 4 +-- 2 files changed, 25 insertions(+), 14 deletions(-) diff --git a/com.unity.netcode.gameobjects/CHANGELOG.md b/com.unity.netcode.gameobjects/CHANGELOG.md index 933da78340..ac1a7c2133 100644 --- a/com.unity.netcode.gameobjects/CHANGELOG.md +++ b/com.unity.netcode.gameobjects/CHANGELOG.md @@ -10,6 +10,29 @@ Additional documentation and release notes are available at [Multiplayer Documen ### Added + +### Changed + + +### Deprecated + + +### Removed + + +### Fixed + + +### Security + + +### Obsolete + + +## [2.8.0] - 2025-12-15 + +### Added + - It is now possible to control which port clients will bind to using the `UnityTransport.ConnectionData.ClientBindPort` field. If not set, clients will bind to an ephemeral port (same as before this change). (#3764) - Added a flag to override command-line arguments (port and ip) in `SetConnectionData`. (#3760) - Added a command-line singleton to parse environment command-line arguments. (#3760) @@ -26,12 +49,6 @@ Additional documentation and release notes are available at [Multiplayer Documen - Improve performance of `NetworkTransformState`. (#3770) - Changed NetworkAnimator to use the `RpcAttribute` along with the appropriate `SendTo` parameter. (#3586) -### Deprecated - - -### Removed - - ### Fixed - Ensure `NetworkBehaviour.IsSessionOwner` is correctly set when a new session owner is promoted. (#3817) @@ -44,12 +61,6 @@ Additional documentation and release notes are available at [Multiplayer Documen - Fixed issue where using the dedicated server package would override all attempts to change the port by code. (#3760) - Fixed issue with authority animator instance sending itself RPCs. (#3586) -### Security - - -### Obsolete - - ## [2.7.0] - 2025-10-27 ### Added diff --git a/com.unity.netcode.gameobjects/package.json b/com.unity.netcode.gameobjects/package.json index 81d24f6deb..d4fc1e4c9d 100644 --- a/com.unity.netcode.gameobjects/package.json +++ b/com.unity.netcode.gameobjects/package.json @@ -2,7 +2,7 @@ "name": "com.unity.netcode.gameobjects", "displayName": "Netcode for GameObjects", "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.", - "version": "2.8.0", + "version": "2.8.1", "unity": "6000.0", "dependencies": { "com.unity.nuget.mono-cecil": "1.11.4", @@ -15,4 +15,4 @@ "path": "Samples~/Bootstrap" } ] -} +} \ No newline at end of file From 846ab11310dd1b087e16a6b54501f89848d75239 Mon Sep 17 00:00:00 2001 From: Noel Stephens Date: Mon, 15 Dec 2025 17:20:06 -0600 Subject: [PATCH 2/3] fix Transport topology type mismatch on OSX. --- .../Runtime/Core/NetworkManager.cs | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/com.unity.netcode.gameobjects/Runtime/Core/NetworkManager.cs b/com.unity.netcode.gameobjects/Runtime/Core/NetworkManager.cs index faa97b87ff..66f1a67e3b 100644 --- a/com.unity.netcode.gameobjects/Runtime/Core/NetworkManager.cs +++ b/com.unity.netcode.gameobjects/Runtime/Core/NetworkManager.cs @@ -313,11 +313,11 @@ internal void NetworkTransformRegistration(NetworkObject networkObject, bool onU private void UpdateTopology() { - var transportTopology = IsListening ? NetworkConfig.NetworkTransport.CurrentTopology() : NetworkConfig.NetworkTopology; + var transportTopology = IsListening && IsConnectedClient ? NetworkConfig.NetworkTransport.CurrentTopology() : NetworkConfig.NetworkTopology; if (transportTopology != NetworkConfig.NetworkTopology) { - NetworkLog.LogErrorServer($"[Topology Mismatch] Transport detected an issue with the topology ({transportTopology} | {NetworkConfig.NetworkTopology}) usage or setting! Disconnecting from session."); - Shutdown(); + NetworkLog.LogErrorServer($"[Topology Mismatch][{transportTopology}:{transportTopology.GetType().Name}][NetworkManager.NetworkConfig:{NetworkConfig.NetworkTopology}] Transport detected an issue with the topology usage or setting! Disconnecting from session."); + Shutdown(true); } else { @@ -504,6 +504,7 @@ public void NetworkUpdate(NetworkUpdateStage updateStage) ShutdownInternal(); } } + } break; } From 1933fe2a49ae45eb61c933c4e16329a2c2fc58ac Mon Sep 17 00:00:00 2001 From: michal-chrobot Date: Wed, 17 Dec 2025 09:47:07 +0100 Subject: [PATCH 3/3] Revert "Updated changelog and package version for Netcode in anticipation of v2.8.0 release" This reverts commit 037fe454149008756133c3ba45336d53d5fb1b31. --- com.unity.netcode.gameobjects/CHANGELOG.md | 35 ++++++++-------------- com.unity.netcode.gameobjects/package.json | 4 +-- 2 files changed, 14 insertions(+), 25 deletions(-) diff --git a/com.unity.netcode.gameobjects/CHANGELOG.md b/com.unity.netcode.gameobjects/CHANGELOG.md index ac1a7c2133..933da78340 100644 --- a/com.unity.netcode.gameobjects/CHANGELOG.md +++ b/com.unity.netcode.gameobjects/CHANGELOG.md @@ -10,29 +10,6 @@ Additional documentation and release notes are available at [Multiplayer Documen ### Added - -### Changed - - -### Deprecated - - -### Removed - - -### Fixed - - -### Security - - -### Obsolete - - -## [2.8.0] - 2025-12-15 - -### Added - - It is now possible to control which port clients will bind to using the `UnityTransport.ConnectionData.ClientBindPort` field. If not set, clients will bind to an ephemeral port (same as before this change). (#3764) - Added a flag to override command-line arguments (port and ip) in `SetConnectionData`. (#3760) - Added a command-line singleton to parse environment command-line arguments. (#3760) @@ -49,6 +26,12 @@ Additional documentation and release notes are available at [Multiplayer Documen - Improve performance of `NetworkTransformState`. (#3770) - Changed NetworkAnimator to use the `RpcAttribute` along with the appropriate `SendTo` parameter. (#3586) +### Deprecated + + +### Removed + + ### Fixed - Ensure `NetworkBehaviour.IsSessionOwner` is correctly set when a new session owner is promoted. (#3817) @@ -61,6 +44,12 @@ Additional documentation and release notes are available at [Multiplayer Documen - Fixed issue where using the dedicated server package would override all attempts to change the port by code. (#3760) - Fixed issue with authority animator instance sending itself RPCs. (#3586) +### Security + + +### Obsolete + + ## [2.7.0] - 2025-10-27 ### Added diff --git a/com.unity.netcode.gameobjects/package.json b/com.unity.netcode.gameobjects/package.json index d4fc1e4c9d..81d24f6deb 100644 --- a/com.unity.netcode.gameobjects/package.json +++ b/com.unity.netcode.gameobjects/package.json @@ -2,7 +2,7 @@ "name": "com.unity.netcode.gameobjects", "displayName": "Netcode for GameObjects", "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.", - "version": "2.8.1", + "version": "2.8.0", "unity": "6000.0", "dependencies": { "com.unity.nuget.mono-cecil": "1.11.4", @@ -15,4 +15,4 @@ "path": "Samples~/Bootstrap" } ] -} \ No newline at end of file +}