You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When on sepolia test net, metamask can't connect due to it has to connected through "wallet_switchEthereumChain" and not "wallet_addEthereumChain". But inside the Blockchains.MetaMaskDefaults does not contains sepolia test net, so after comment the condition sanitisation then can work alr.
(we tested so far only arbitrum-sepolia can work)
protectedasyncTaskConnectWithDefaultChain(){varchainData= #DefaultChainInfo;// after comment out this then can connect to metamask wallet, sepolia test net//if (Blockchains.MetaMaskDefaults.Contains((long)defaultChain)){await_wallet.ConnectWith<object>(RpcMethods.WalletSwitchEthereumChain,newobject[]{chainData.AsSwitchChainRequest()});return;}await_wallet.ConnectWith<object>(RpcMethods.WalletAddEthereumChain,newobject[]{chainData});}
When on sepolia test net, metamask can't connect due to it has to connected through "wallet_switchEthereumChain" and not "wallet_addEthereumChain". But inside the Blockchains.MetaMaskDefaults does not contains sepolia test net, so after comment the condition sanitisation then can work alr.
(we tested so far only arbitrum-sepolia can work)
here is the error log in unity
unitysdk-metamask-error.txt
Hope this will get fixed soon
The text was updated successfully, but these errors were encountered: