From 42d4723f4ea918186ff766f5f5bf4fd5dccbb56d Mon Sep 17 00:00:00 2001 From: MrGadget1024 <9826063+MrGadget1024@users.noreply.github.com> Date: Sun, 5 Feb 2023 19:37:56 -0500 Subject: [PATCH] fix: Network Manager - don't call OnClientConnect from FinishLoadScene --- Assets/Mirror/Core/NetworkManager.cs | 2 -- 1 file changed, 2 deletions(-) diff --git a/Assets/Mirror/Core/NetworkManager.cs b/Assets/Mirror/Core/NetworkManager.cs index 67f8388f4..f24d8ce9b 100644 --- a/Assets/Mirror/Core/NetworkManager.cs +++ b/Assets/Mirror/Core/NetworkManager.cs @@ -961,7 +961,6 @@ void FinishLoadSceneHost() if (clientReadyConnection != null) { - OnClientConnect(); clientLoadedScene = true; clientReadyConnection = null; } @@ -1021,7 +1020,6 @@ void FinishLoadSceneClientOnly() if (clientReadyConnection != null) { - OnClientConnect(); clientLoadedScene = true; clientReadyConnection = null; }