Skip to content

feat: authentication failure message popups will tell the user to try direct ip connection option #547

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 4 commits into from
Mar 14, 2022

Conversation

pdeschain
Copy link
Contributor

@pdeschain pdeschain commented Mar 11, 2022

Description (*)

This PR moves the logic for spawning popup windows with various service errors under one roof - UnityServicesUIHandler

It also changes the message that's displayed for Authentication service issues that is in my opinion more informative. It also directs users to go and use Direct IP option if they need to.

Related Pull Requests

Issue Number(s) (*)

Fixes issue(s):
MTT-2315 - https://jira.unity3d.com/browse/MTT-2315

Manual testing scenarios

  1. ...
  2. ...

Questions or comments

Contribution checklist

  • Pull request has a meaningful description of its purpose
  • All commits are accompanied by meaningful commit messages
  • All new or changed code is covered with unit/integration tests (if applicable)
  • All automated tests passed successfully (all builds are green)

showing the error message along with a tip - the user can always use direct ip option to connect
due to the fact that auth service can emit exceptions of multiple types - to avoid missing a handler
@pdeschain pdeschain changed the base branch from main to develop March 11, 2022 21:53
@pdeschain pdeschain requested a review from LPLafontaineB March 11, 2022 21:58
@pdeschain pdeschain added 2-Easy This PR is trivial and can be reviewed quickly 1-Needs Review PR needs attention from the assignee and reviewers GDC-cherrypick labels Mar 11, 2022
SamuelBellomo
SamuelBellomo previously approved these changes Mar 11, 2022
@fernando-cortez fernando-cortez added 3-Good to Merge and removed 1-Needs Review PR needs attention from the assignee and reviewers labels Mar 11, 2022
LPLafontaineB
LPLafontaineB previously approved these changes Mar 11, 2022
…tiplayer.samples.coop into pdeschain/better-offline-flow

# Conflicts:
#	Assets/BossRoom/Scripts/Client/UI/UnityServicesUIHandler.cs
@pdeschain pdeschain merged commit 87e20e2 into develop Mar 14, 2022
@pdeschain pdeschain deleted the pdeschain/better-offline-flow branch March 14, 2022 15:50
pdeschain added a commit that referenced this pull request Mar 14, 2022
… direct ip connection option (#547)

* Moved service error popup logic to dedicated class

* better error message handling for authentication errors

showing the error message along with a tip - the user can always use direct ip option to connect

* using a more general type of exception

due to the fact that auth service can emit exceptions of multiple types - to avoid missing a handler
# Conflicts:
#	Assets/BossRoom/Scripts/Client/UI/UnityServicesUIHandler.cs
SamuelBellomo added a commit that referenced this pull request Mar 14, 2022
* release/GDC2022:
  feat: authentication failure message popups will tell the user to try direct ip connection option (#547)
  feat: replace guid with auth playerid for session management (#488) (#548)

# Conflicts:
#	Assets/BossRoom/Scripts/Client/UI/UnityServicesUIHandler.cs
SamuelBellomo added a commit that referenced this pull request Mar 14, 2022
…-not-going-away

* release/GDC2022:
  fix: leaving lobby when disconnecting (#515)
  better error messages and lobby fix (#550)
  feat: authentication failure message popups will tell the user to try direct ip connection option (#547)
  feat: replace guid with auth playerid for session management (#488) (#548)

# Conflicts:
#	Assets/BossRoom/Scripts/Shared/Net/ConnectionManagement/ClientGameNetPortal.cs
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
2-Easy This PR is trivial and can be reviewed quickly 3-Good to Merge GDC-cherrypick
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants