web3.unity icon indicating copy to clipboard operation
web3.unity copied to clipboard

Login after doing a logout in Metamask not working

Open juans-chainsafe opened this issue 1 year ago • 1 comments

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

juans-chainsafe avatar Feb 06 '24 15:02 juans-chainsafe

i'll look into this later

sneakzttv avatar Feb 07 '24 17:02 sneakzttv

closed by #922

rob1997 avatar Apr 17 '24 08:04 rob1997