MoralisWeb3 / youtube-tutorials

631 stars 1.42k forks source link

unity-wallet-mobile, no signing message in wallet #33

Open vrxgaminginc opened 2 years ago

vrxgaminginc commented 2 years ago

steps:

  1. build unity-wallet-mobile for android in 2020.3.26f1
  2. change moralissetup to use my server uri and app id
  3. build and run on device
  4. click on "Connect to Wallet"
  5. select metamask and press "Connect"
  6. Go back to app, see sign message, return to Metamask
  7. No popup on metamask asking to sign Also tried on Trustwallet, same issue.

There appears to be a crash: 02-26 23:26:28.016 I Company Name: MoralisIO 02-26 23:26:28.016 I Product Name: WalletConnectAndroid 02-26 23:26:30.783 I Connecting to Moralis ... 02-26 23:26:30.843 I [WebSocket] Subs Cleared 02-26 23:26:30.863 I Waiting for Wallet connection 02-26 23:26:30.870 I [WebSocket] Subs Cleared 02-26 23:26:30.952 I [WebSocket] Waiting for Open wss://5.bridge.walletconnect.org 02-26 23:26:32.681 I Closing Websocket 02-26 23:26:32.682 I [WebSocket] Queued 0 subscriptions 02-26 23:26:32.683 I [WebSocket] Flushing Queue 02-26 23:26:32.683 I [WebSocket] Queue Count: 0 02-26 23:26:32.683 I [WebSocket] Queue Flushed 02-26 23:26:32.683 I [WebSocket] Opened wss://5.bridge.walletconnect.org 02-26 23:26:32.684 I [WebSocket] Open Completed 02-26 23:26:32.687 I [WebSocket] Subscribe to 8ae07006-f5b9-4f83-8480-56e8e41c97d2 02-26 23:26:35.616 I [WalletConnect] Opening URL: wc:ab293e3b-7671-4532-9a8e-c58dbdf119fc@1?bridge=https%3A%2F%2F5.bridge.walletconnect.org&key=fd6b0ddb6c41a32d31079330beb71af2f8d2b12443bff34c6dbe008f9fd79e4c 02-26 23:26:35.640 I [WebSocket] Pausing 02-26 23:26:35.643 I Closing Websocket 02-26 23:26:49.781 I [WebSocket] Resuming 02-26 23:26:49.785 I [WebSocket] Waiting for Open wss://5.bridge.walletconnect.org 02-26 23:26:51.644 I Closing Websocket 02-26 23:26:51.648 I [WebSocket] Queued 1 subscriptions 02-26 23:26:51.648 I [WebSocket] Flushing Queue 02-26 23:26:51.648 I [WebSocket] Queue Count: 1 02-26 23:26:51.655 I [WebSocket] Queue Flushed 02-26 23:26:51.655 I [WebSocket] Opened wss://5.bridge.walletconnect.org 02-26 23:26:51.655 I [WebSocket] Open Completed 02-26 23:26:51.659 I [WebSocket] Subscribe to 8ae07006-f5b9-4f83-8480-56e8e41c97d2 02-26 23:26:52.055 I Wallet Connect Metadata not provided. 02-26 23:26:52.067 I Wallet connection received ←[1;33m02-26 23:26:52.081 E --- End of stack trace from previous location where exception was thrown ---←[0m ←[1;33m02-26 23:26:52.081 E UnityEngine.WorkRequest:Invoke()←[0m ←[1;33m02-26 23:26:52.081 E UnityEngine.UnitySynchronizationContext:Exec()←[0m ←[1;33m02-26 23:26:52.081 E UnityEngine.UnitySynchronizationContext:ExecuteTasks()←[0m 02-26 23:27:31.404 I [WebSocket] Pausing 02-26 23:27:31.405 I Closing Websocket 02-26 23:27:31.461 I Closing Websocket

The same settings, using QR code, I was able to see the "Connect" and "Sign" messages in metamask and was able to log in successfully.

joksa commented 2 years ago

I have similar issue. Sing message doesn't pop up every time. My "fix" is to kill metamask completely and usually works