-
Notifications
You must be signed in to change notification settings - Fork 49
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
Connecting to Metamask doesn't work for most of the people #243
Comments
Hello, Does this issue occur only on Android device, or does it also happen in the Editor? If it does happen in the Editor, have you noticed whether the target platform in the build settings affects it (e.g. can you reproduce the issue if the target platform is set to Windows)? |
No I've not faced this issue on Unity Editor, this happens on Android devices only. |
Do you use any proxy or VPN on Android? Could you please also try changing the relay url in the |
I am not sure with the VPN because I cannot connect with all of my users, and do you think that changing the relay url will solve the problem? |
That error message is pretty vague. It's possible that the issue is caused by poor connection on the client side. But I still recommend you to update the url because |
@ammarvohra is it possible to identify when approximately did start receiving reports of What Android versions are affected? Phone models? |
@skibitsky Numbers of models are affected, I am sharing the screenshots: |
@skibitsky Even after changing the Relay url, they can't see the popup where redirect happens |
@skibitsky do you know why this issue is happening? |
Walletconnect.mp4 |
I've been trying to reproduce the issue across different Android versions by simulating poor network conditions, but so far, I've had no success. It's possible that the issue is caused by another dependency. Do you use NativeWebSocket directly or is it integrated through any third-party dependency in your project? Another possibility is that this could be a Unity bug. Although it's unlikely to solve the issue, it could be worth trying the classic Unity troubleshooting steps: deleting the |
No I don't use NativeWebSocket neither directly nor with 3rd party plugins. Apart from WalletConnect I am using, ReadyPlayerMe and Nethereum packages. |
@ammarvohra could you please also try setting |
@skibitsky |
@skibitsky We have that as Required field, though I'll double check that one |
Thank you for providing the link 🙏 I've tested your game on both physical and virtual Android devices with various OS versions and network conditions, but so far, I haven't been able to reproduce the issue. Do the users experiencing this issue happen to share the same location? |
I haven't checked the user location yet will do it tomorrow, but one of our community member reported this issue first from Nigeria, I'll check other locations too and will update you. |
@skibitsky I've checked the backend data and the Countries that are replicating this issues are Nigeria, Egypt and Indonesia (major issues from Nigeria), if you could rectify the problem and solution that would be great. Also on a quick note that I tried giving Nigerian person a build with Metamask sdk, and that worked fine for them. |
@skibitsky Clean build doesn't resolved the issue either, but when they connect VPN to different location they were able to go through next screen and they are redirected to the Metamask. So is there any other solution that can helps us to resolve this issue? We need to start the campaign, marketing, etc as we are on final phase to release this game to public, so if you could help us figure this out it would be a great help. |
@ammarvohra I opened a PR that replaces NativeWebSocket with another library. Could you please try installing |
@skibitsky Sure, I'll do that and will update you. Thanks |
@skibitsky that also worked with VPN not without it |
@ammarvohra, it's probably the network issue on the user side. |
@skibitsky But the VPN thing works well for them, and it's about most of the people in Nigeria |
@skibitsky
Describe the bug
WalletConnect model view open up, click on MetaMask and sometimes the popup is blank and sometime user doesn't get connect popup on MetaMask and when they get, sometimes they are not redirected back to the game.
This happens with lot of phone models and that is serious issue we got right now on our plate. Please help me resolve this issue
Expected behavior
Expected to connect with the wallet
Screenshots
Environment
Is this happening in Unity Editor or on a player like Android, iOS, Windows?
We just have Android version right now and it's happening in that
Wallets used for testing
MetaMask
Additional context
Bug report from Crashlytics:
The text was updated successfully, but these errors were encountered: