Unity Web3 MetaMask Connect - iOS and Android - Web 3.0 Programming Tutorial

I followed this guide https://www.youtube.com/watch?v=LSqCw3f3i9U

I built to android (.apk)

I configured Bluestacks to run this apk file


But when I run the app the screen is black

Is it working in the unity app without errors?

also try to run the APK in the mobile. It could be an issue related to the bluestack memory sizes.

I just tried to install and run the APK file on mobile

But when I click the Connect to Wallet button nothing happens

do you have metamask or any other crypto wallets installed in mobile

Yes I have Metamask and Trust Wallet

Can you verify if all the steps are followed as per the tutorial.
If the button click is not working then it could be related to wallet-connect deeplink setup as shown in the tutorial.

I cloned the source code and changed the SERVER URL, APP ID. I donโ€™t know if Iโ€™m missing something

Run app on Unity console message error
UnassignedReferenceException: The variable mobilePanel of AppManager has not been assigned.
You probably need to assign the mobilePanel variable of the AppManager script in the inspector.

Can you check if any of the app manager scripts are not linked. It should be as per the below image.

In the main scene, I have 3 more script editor panel, mobile panel, logged in panel. What are those ?

Ohh, This looks like an updated one.
I need to check the latest code. It is different from the tutorial version.

I guess you need to link the UI element from the canvas.

1 Like

In case you havenโ€™t solved this issue yetโ€ฆ

I tried cloning the new project files and I see that the canvas elements are already linked to the AppManager. You can match yours as per the below snap and it should solve your erros.