reown-com / reown-dotnet

Toolkits to build onchain UX
https://docs.reown.com/
Apache License 2.0
8 stars 1 forks source link

[Bug] Appkit is not set. #5

Closed ToanBarcelona1998 closed 1 month ago

ToanBarcelona1998 commented 1 month ago

Hi team. I'm having trouble when try to implement Reown for my unity project. I'm using Unity 6. I followed your documentation and added this library to my project. After that, I wrote code to init AppKit like this:

var meta = new Metadata(name: "Wallet connect unity", description: "The best choice", iconUrl: "", url: "");

var config = new AppKitConfig(projectId: "client id", meta);
await AppKit.InitializeAsync(config);

And I received an exception "Instance is not set". How can I resolve that?

ToanBarcelona1998 commented 1 month ago

Oh, my bad. I forgot to add ‘Reown AppKit’ to my scene