We are experiencing an infinite wait for LoginWithCustomIDAsync.
Everything seems fine but the task never completes so it stays on loginTask.Wait() forever. If I go into my dashboard I can see the new user was created in the back end with my title but I never know if finishes.
Is there anything wrong with the code, or a step I am missing to get this to end properly?
PlayFabSettings.TitleId = "************"; var request = new LoginWithCustomIDRequest { CustomId = customId, CreateAccount = createAccount }; var loginTask = PlayFabClientAPI.LoginWithCustomIDAsync(request); loginTask.Wait(); if (loginTask.Result.Result != null) { return loginTask.Result.Result; } if (loginTask.Result.Error != null) { throw new Exception(loginTask.Result.Error.GenerateErrorReport()); } throw new Exception("Failed to login user");
Thanks for your help.