Skip to content

Commit

Permalink
fix: Fix error scene error message in host mode
Browse files Browse the repository at this point in the history
When using online scene and starting host mode,  users were getting:

```
Closing connection: 0. Received message Mirror.SceneMessage that required authentication
```
  • Loading branch information
paulpach committed Sep 18, 2019
1 parent 82c647b commit 838d4f0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Assets/Mirror/Runtime/NetworkManager.cs
Original file line number Diff line number Diff line change
Expand Up @@ -447,7 +447,7 @@ void RegisterClientMessages()
NetworkClient.RegisterHandler<DisconnectMessage>(OnClientDisconnectInternal, false);
NetworkClient.RegisterHandler<NotReadyMessage>(OnClientNotReadyMessageInternal);
NetworkClient.RegisterHandler<ErrorMessage>(OnClientErrorInternal, false);
NetworkClient.RegisterHandler<SceneMessage>(OnClientSceneInternal);
NetworkClient.RegisterHandler<SceneMessage>(OnClientSceneInternal, false);

if (playerPrefab != null)
{
Expand Down

0 comments on commit 838d4f0

Please sign in to comment.