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
feat: flag to prevent dev and release builds to connect (#482)
* Added flag preventing release and debug build from connecting and appropriate message to the user when it happens
* Simplified connection approval flow
PopupPanel.ShowPopupPanel("Connection Failed","You have logged in elsewhere using the same account.");
44
44
break;
45
+
caseConnectStatus.IncompatibleBuildType:
46
+
PopupPanel.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.");
47
+
break;
45
48
caseConnectStatus.GenericDisconnect:
46
-
PopupPanel.ShowPopupPanel("Disconnected From Host","The connection to the host was lost");
49
+
PopupPanel.ShowPopupPanel("Disconnected From Host","The connection to the host was lost.");
47
50
break;
48
51
default:
49
52
Debug.LogWarning($"New ConnectStatus {status} has been added, but no connect message defined for it.");
/// Adds a connecting player's session data if it is a new connection, or updates their session data in case of a reconnection. If the connection is not valid, simply returns false.
110
+
/// Adds a connecting player's session data if it is a new connection, or updates their session data in case of a reconnection.
106
111
/// </summary>
107
112
/// <param name="clientId">This is the clientId that Netcode assigned us on login. It does not persist across multiple logins from the same client. </param>
108
113
/// <param name="playerId">This is the playerId that is unique to this client and persists across multiple logins from the same client</param>
0 commit comments