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
The context is this is a Windows program that displays a Unity modal on screen, then I connected my mobile metamask wallet. It appears that somehow this method is being called before the ActiveChain is set, although I have retrieved the Account object and properly determined that the chain is what I expected. It is a problem somewhere in the network controller not setting this properly. As far as I can tell, this exception causes other problems in the handling of the connection.
List of related npm package versions
"com.reown.appkit.unity": "1.2.1"
There is no apparent place to file bugs in the Unity version of AppKit, please advise.
Node.js Version
Unity
Package Manager
OpenUPM
The text was updated successfully, but these errors were encountered:
Sorry, I didn't realize the dotnet project contained the Unity code
Turns out we were testing on Base Sepolia test net and it was not in the list of default chains. Missing chains blows up in hard to identify ways. Would recommend adding a useful error message saying so, it would have saved a lot of time for us.
Second, we started taking the default chain set and adding whatever we are looking for. When there are two of the same chain, it throws a duplicate key exception. Also a a bit of a scramble to fix when we shifted to a production chain.
Link to minimal reproducible example
This is not a reasonable request.
Summary
This line in
AccountController.cs
has a null pointer for ActiveChain in the UpdateBalance method:The context is this is a Windows program that displays a Unity modal on screen, then I connected my mobile metamask wallet. It appears that somehow this method is being called before the ActiveChain is set, although I have retrieved the Account object and properly determined that the chain is what I expected. It is a problem somewhere in the network controller not setting this properly. As far as I can tell, this exception causes other problems in the handling of the connection.
List of related npm package versions
There is no apparent place to file bugs in the Unity version of AppKit, please advise.
Node.js Version
Unity
Package Manager
OpenUPM
The text was updated successfully, but these errors were encountered: