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 freezing issue in your code occurs because you are calling .Result on a task returned by bootstrap.BindAsync(), which blocks the calling thread until the task completes. In Unity, blocking the main thread is problematic because Unity's game loop (and most UI-related tasks) runs on the main thread, which leads to freezing.
How to solve the program freezing when calling bootstrap.BindAsync(localAddress).Result in Unity?
Code:
The text was updated successfully, but these errors were encountered: