Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 4 additions & 0 deletions Assets/Scripts/Gameplay/UI/UnityServicesUIHandler.cs
Original file line number Diff line number Diff line change
Expand Up @@ -70,6 +70,10 @@ void HandleSessionError(UnityServiceErrorMessage error)
break;
}
}
else
{
PopupManager.ShowPopupPanel("Unknown Issue", error.Message);
}
}

void OnDestroy()
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -188,6 +188,11 @@ public void EndTracking()

try
{
var joinedSessionList = await MultiplayerService.Instance.GetJoinedSessionIdsAsync();
if (joinedSessionList.Contains(sessionName))
{
throw new Exception($"Already joined session {sessionName}") ;
}
var session = await m_MultiplayerServicesInterface.JoinSessionById(sessionName, m_LocalUser.GetDataForUnityServices());
return (true, session);
}
Expand Down
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -64,6 +64,7 @@ Additional documentation and release notes are available at [Multiplayer Documen
* Fixed error logged when unsubscribing from Session events when removed from a Session (#905)
* Fixed error logged when attempting to despawn an already despawned LoadingProgressTracker NetworkObject (#907)
* Fixed error logged when a Melee action was acted on a Breakable object (#908)
* Fixed rate limit exceeded error popping up when trying to join session with already used profile (#909)

## [2.5.0] - 2024-04-18

Expand Down