if (AppKit.IsAccountConnected)
{
await AppKit.DisconnectAsync();
}
Requesting a connect modal after that throws a Trying to open Connect view when account is already connected exception.
I even tried:
while (AppKit.IsAccountConnected)
{
await AppKit.DisconnectAsync();
await UniTask.Delay(2000);
}
That solves the issue in Editor but hangs forever in WebGL.
Also tried to do it manually showing the Account modal and waiting for the user to click Disconnect, but it just doesnt work.
What am I doing wrong?
P.S. I'm in 1.3 btw
Requesting a connect modal after that throws a
Trying to open Connect view when account is already connectedexception.I even tried:
That solves the issue in Editor but hangs forever in WebGL.
Also tried to do it manually showing the Account modal and waiting for the user to click Disconnect, but it just doesnt work.
What am I doing wrong?
P.S. I'm in 1.3 btw