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
response.Reason="You have logged in elsewhere using the same account. If you still want to connect, select a different profile by using the 'Change Profile' button.";
PopupManager.ShowPopupPanel("Disconnected From Host",NetworkManager.Singleton.DisconnectReason);
49
-
}
50
-
else
51
-
{
52
-
PopupManager.ShowPopupPanel("Disconnected From Host","The connection to the host was lost.");
53
-
}
48
+
caseConnectStatus.LoggedInAgain:
49
+
PopupManager.ShowPopupPanel("Connection Failed","You have logged in elsewhere using the same account. If you still want to connect, select a different profile by using the 'Change Profile' button.");
50
+
break;
51
+
caseConnectStatus.IncompatibleBuildType:
52
+
PopupManager.ShowPopupPanel("Connection Failed","Server and client builds are not compatible. You cannot connect a release build to a development build or an in-editor session.");
53
+
break;
54
+
caseConnectStatus.GenericDisconnect:
55
+
PopupManager.ShowPopupPanel("Disconnected From Host","The connection to the host was lost.");
56
+
break;
57
+
caseConnectStatus.HostEndedSession:
58
+
PopupManager.ShowPopupPanel("Disconnected From Host","The host has ended the game session.");
0 commit comments