You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
// If the error is one of the following, the player needs to know about it, so show in a popup message. Otherwise, the log in the console is sufficient.
58
+
caseLobbyExceptionReason.ValidationError:
59
+
PopupPanel.ShowPopupPanel("Validation Error","Validation check failed on Lobby. Is the join code correctly formatted?");
60
+
break;
61
+
caseLobbyExceptionReason.LobbyNotFound:
62
+
PopupPanel.ShowPopupPanel("Lobby Not Found","Requested lobby not found. The join code is incorrect or the lobby has ended.");
63
+
break;
58
64
caseLobbyExceptionReason.LobbyConflict:
59
65
// LobbyConflict can have multiple causes. Let's add other solutions here if there's other situations that arise for this.
60
66
Debug.LogError($"Got service error {error.Message} with LobbyConflict. Possible conflict cause: Trying to play with two builds on the "+
61
67
$"same machine. Please use command line arg '{ProfileManager.AuthProfileCommandLineArg} someName' to set a different auth profile.\n");
62
-
PopupPanel.ShowPopupPanel("Failed to join Lobby due to a conflict","See logs for more details.");
63
-
break;
64
-
caseLobbyExceptionReason.LobbyNotFound:
65
-
PopupPanel.ShowPopupPanel("Lobby Not Found","Requested lobby not found. See logs for details.");
68
+
PopupPanel.ShowPopupPanel("Failed to join Lobby","Failed to join Lobby due to a conflict. See logs for more details.");
66
69
break;
67
70
caseLobbyExceptionReason.NoOpenLobbies:
68
71
PopupPanel.ShowPopupPanel("Failed to join Lobby","No accessible lobbies are currently available for quick-join.");
0 commit comments