WalletConnectUnity icon indicating copy to clipboard operation
WalletConnectUnity copied to clipboard

Nothing happened After clicking and redirecting MetaMask

Open defchen opened this issue 1 year ago • 7 comments

Describe the bug It's an issue about MetaMask doesn't work, including no popup Connecting interface or anything else after clicking and redirecting MetaMask app. (iOS 16.1. did not test in Android yet, but there is an another discussion about this problem in Android)

To Reproduce Steps: Use the sample demo to build the app and run on iPhone.

  1. choose MetaMask
  2. Unity app will redirect and launch MetaMask app successfully.
  3. Nothing happened after MetaMask launched, no popup showed, no tips in MetaMask even after several minutes(It should show me the popup to confirm to connect, but not)
  4. If I return the Unity app, the WC waiting for connection UI closes immediately, as if it were shut down. And stayed in network list UI.

Environment

  • OS: [iOS 16.1]
  • Unity version [2021.3.29f1c1]
  • Package name and version [latest]

Wallets used for testing Metamask iOS

Additional context Thanks for investigating. Anything If needs, contact me at anytime.

defchen avatar Feb 21 '24 08:02 defchen

Hey @defchen,

Thanks for opening the issue! Does the error persist after changing relay url to relay.walletconnect.org?

skibitsky avatar Feb 23 '24 10:02 skibitsky

This issue still persists after changing relay uri while other wallets are working well

defchen avatar Feb 23 '24 10:02 defchen

I test the web3modal.com, open it in safari or any other browser on mobile, MetaMask is also broken. I think it's a common problem in v3/v4. But v2 version works well.

defchen avatar Feb 27 '24 03:02 defchen

I think it's a common problem in v3/v4.

Are you referencing to the version of Web3Modal?

skibitsky avatar Feb 27 '24 05:02 skibitsky

@defchen, could you check if any of these fields in the WalletConnectProjectConfig scriptable asset are empty?

  • Id
  • Name
  • Description
  • Url
  • Icon (at least one item should be present)

skibitsky avatar Feb 27 '24 05:02 skibitsky

I think it's a common problem in v3/v4.

Are you referencing to the version of Web3Modal?

I'm referencing to the version of www.web3modal.com, the official online showcase. This web version is also broken with MetaMask. Not only the unity version.

defchen avatar Feb 27 '24 08:02 defchen

@defchen, could you check if any of these fields in the WalletConnectProjectConfig scriptable asset are empty?

  • Id
  • Name
  • Description
  • Url
  • Icon (at least one item should be present)

Id: not empty 60de9604fdb9bdc7931c.... Name : not empty Description: empty Url: empty Icon: empty

defchen avatar Feb 27 '24 08:02 defchen