Skip to content

Cannot disconnect in WebGL #69

@ajimenezcw

Description

@ajimenezcw
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

Metadata

Metadata

Assignees

Labels

bugSomething isn't working

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions