web3.unity
web3.unity copied to clipboard
Login after doing a logout in Metamask not working
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:
- Use the scene [SampleLogin - Metamask]
- Build with WebGL
- Login with [Metamask]
- Click on 'Logout' button
- Click on 'Continue with Metamask' button
Expected behavior SampleMain appears after login
Console errors InvalidOperationException
Screenshots/Video
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
i'll look into this later
closed by #922