Skip to content

Login after doing a logout in Metamask not working #857

Description

@juans-chainsafe

Describe the bug
This happens only with the Metamask scene in WebGL, basically if you logout and try to login again you will see a error in the console.

Steps
Steps to reproduce the behavior:

  1. Use the scene [SampleLogin - Metamask]
  2. Build with WebGL
  3. Login with [Metamask]
  4. Click on 'Logout' button
  5. Click on 'Continue with Metamask' button

Expected behavior
SampleMain appears after login

Console errors
InvalidOperationException

Screenshots/Video
Screenshot 2024-02-06 at 12 16 21

Desktop (please complete the following information):

  • Chainsafe SDK version: [main]
  • Platform: [WebGL]
  • Unity Version: [e.g., 2022.1]
  • Operating System: [Mac]

Additional context
The workaround is to reload the page

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Labels

Priority: P2Added to issues and PRs relating to a medium severity bugs.Type: BugAdded to issues and PRs if they are addressing a bug

Type

No type

Fields

Priority

None yet

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions