Skip to content
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

[Bug]: Unity: MetaMaskUnityUIHandler lost between scenes #963

Open
QuipHop opened this issue Jul 25, 2024 · 0 comments
Open

[Bug]: Unity: MetaMaskUnityUIHandler lost between scenes #963

QuipHop opened this issue Jul 25, 2024 · 0 comments
Assignees
Labels
Bug Triage Unity Issues to be triaged in the next session

Comments

@QuipHop
Copy link

QuipHop commented Jul 25, 2024

SDK

Unity

Provide environment information

Unity 2022.3.25f1

MetaMask SDK Version

2.1.0

MetaMask Mobile app Version

7.27.0

What browser are you using? (if relevant)

No response

How are you deploying your application? (if relevant)

No response

Describe the Bug

The MetaMaskUnityUIHandler isn't shared between scenes. If I initialize the MetaMask SDK in the Boot Scene and then try to call the Connect function in another scene, there is no UI response, but MetaMask still attempts to connect somehow.

Expected Behavior

MetaMaskUnityUIHandler should persist between scenes OR spawn every time it's needed.

Link to reproduction - Issues with a link to complete (but minimal) reproduction code will be addressed faster

No response

To Reproduce

  1. Create 2 scenes (e.g Boot and Main)
  2. Initialize MM at Boot (manually or automatically)
  3. Go to Main Scene
  4. Call Connect() function
@christopherferreira9 christopherferreira9 added the Bug Triage Unity Issues to be triaged in the next session label Jul 29, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Bug Triage Unity Issues to be triaged in the next session
Projects
None yet
Development

No branches or pull requests

3 participants