From 0d7ff47aeb6c7616ed7953ea0f93098915520db9 Mon Sep 17 00:00:00 2001 From: Simon Lemay Date: Tue, 12 Nov 2024 10:08:12 -0500 Subject: [PATCH 1/2] fix: Remove Debug Simulator if using UTP 2.0+ --- com.unity.netcode.gameobjects/CHANGELOG.md | 2 ++ .../Runtime/Transports/UTP/UnityTransport.cs | 1 + 2 files changed, 3 insertions(+) diff --git a/com.unity.netcode.gameobjects/CHANGELOG.md b/com.unity.netcode.gameobjects/CHANGELOG.md index 67d29d47d5..50e74cb8d6 100644 --- a/com.unity.netcode.gameobjects/CHANGELOG.md +++ b/com.unity.netcode.gameobjects/CHANGELOG.md @@ -27,6 +27,8 @@ Additional documentation and release notes are available at [Multiplayer Documen ### Changed +- The Debug Simulator section of the Unity Transport component will now be hidden if Unity Transport 2.0 or later is installed. It was already non-functional in that situation and users should instead use the more featureful [Network Simulator](https://docs-multiplayer.unity3d.com/tools/current/tools-network-simulator/) tool from the Multiplayer Tools package. + ## [1.11.0] - 2024-08-20 diff --git a/com.unity.netcode.gameobjects/Runtime/Transports/UTP/UnityTransport.cs b/com.unity.netcode.gameobjects/Runtime/Transports/UTP/UnityTransport.cs index 984da63ee8..fec165bf4e 100644 --- a/com.unity.netcode.gameobjects/Runtime/Transports/UTP/UnityTransport.cs +++ b/com.unity.netcode.gameobjects/Runtime/Transports/UTP/UnityTransport.cs @@ -406,6 +406,7 @@ public struct SimulatorParameters #if UTP_TRANSPORT_2_0_ABOVE [Obsolete("DebugSimulator is no longer supported and has no effect. Use Network Simulator from the Multiplayer Tools package.", false)] + [HideInInspector] #endif public SimulatorParameters DebugSimulator = new SimulatorParameters { From 603c548f725c0466b8745d8e7dcf82f209f6e122 Mon Sep 17 00:00:00 2001 From: Simon Lemay Date: Tue, 12 Nov 2024 10:13:48 -0500 Subject: [PATCH 2/2] Add PR number to CHANGELOG entry --- com.unity.netcode.gameobjects/CHANGELOG.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/com.unity.netcode.gameobjects/CHANGELOG.md b/com.unity.netcode.gameobjects/CHANGELOG.md index 50e74cb8d6..a205a8a18d 100644 --- a/com.unity.netcode.gameobjects/CHANGELOG.md +++ b/com.unity.netcode.gameobjects/CHANGELOG.md @@ -27,7 +27,7 @@ Additional documentation and release notes are available at [Multiplayer Documen ### Changed -- The Debug Simulator section of the Unity Transport component will now be hidden if Unity Transport 2.0 or later is installed. It was already non-functional in that situation and users should instead use the more featureful [Network Simulator](https://docs-multiplayer.unity3d.com/tools/current/tools-network-simulator/) tool from the Multiplayer Tools package. +- The Debug Simulator section of the Unity Transport component will now be hidden if Unity Transport 2.0 or later is installed. It was already non-functional in that situation and users should instead use the more featureful [Network Simulator](https://docs-multiplayer.unity3d.com/tools/current/tools-network-simulator/) tool from the Multiplayer Tools package. (#3120) ## [1.11.0] - 2024-08-20