decentraland/unity-explorer

[QA] Explorer kicks out a player to the main screen after logging in and out with different accounts

Closed this issue · 1 comments

Build version:

0.47.0

Issue Description:

When a player logs in with a metamask account ,then logs out and logs in with a discord account (for example) the app whenever you are inside Genesis Plaza seems to kick you out of the session. The only way to fix this is to close the explorer and re-open it again.

STR:

  1. Open 0.47.0
  2. Log in with a metamask account
  3. Check that you will be able to see the genesis plaza
  4. Log out
  5. Log in IN THE SAME SESSION with a discord account
  6. Once you tap the ''Jump to DCL '' button you will arrive to Genesis plaza
  7. Check that the user , after a certain point is kicked out to the main screen

Actual Result:

When a player logs in with a metamask account ,then logs out and logs in with a discord account (for example) the app whenever you are inside Genesis Plaza seems to kick you out of the session. The only way to fix this is to close the explorer and re-open it again.

✔️ Expected Result:

Users should not be kicked out of the session after logging in and out with different types of accounts.

Repro Index:

5/5

Evidence:

kickedout.mp4

Additional Notes:

This issue happens on Windows and Macos

I was able to reproduce this issue on v0.49.0 without the need to log in with another account, if you continue with the same, the loop starts again. Here are the logs and more evidence:

16.12.2024_07.38.07_REC.mp4

Player.log