From 838d4f019f60e202b3795a01e4297c2d3efe6bca Mon Sep 17 00:00:00 2001 From: Paul Pacheco Date: Wed, 18 Sep 2019 18:13:26 -0500 Subject: [PATCH] fix: Fix error scene error message in host mode When using online scene and starting host mode, users were getting: ``` Closing connection: 0. Received message Mirror.SceneMessage that required authentication ``` --- Assets/Mirror/Runtime/NetworkManager.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Assets/Mirror/Runtime/NetworkManager.cs b/Assets/Mirror/Runtime/NetworkManager.cs index 7fc5bcfde..39724b4f6 100644 --- a/Assets/Mirror/Runtime/NetworkManager.cs +++ b/Assets/Mirror/Runtime/NetworkManager.cs @@ -447,7 +447,7 @@ void RegisterClientMessages() NetworkClient.RegisterHandler(OnClientDisconnectInternal, false); NetworkClient.RegisterHandler(OnClientNotReadyMessageInternal); NetworkClient.RegisterHandler(OnClientErrorInternal, false); - NetworkClient.RegisterHandler(OnClientSceneInternal); + NetworkClient.RegisterHandler(OnClientSceneInternal, false); if (playerPrefab != null) {