tag
#async
2 items (2 fixes)
fixes
✓ 26.07.22
"Blocking the main thread on a GameTask.RunInThreadAsync result is a permanent deadlock"
Calling .Result or .Wait() on the main thread against a Task from GameTask.RunInThreadAsync deadlocks forever, silently. The process stays alive and the window still responds, but the frame loop is dead. Only join these tasks with await, or compute synchronously on the main thread.
threadingasync
✓ 26.07.08e
"CreateLobby is async: IsActive is still false on the same frame"
Networking.CreateLobby is async: Networking.IsActive is still false on the same frame, so any branch on IsActive takes the wrong path. Gate on your own synchronous mode enum instead.
networkinglobby