Hi All,
Every once in a while, due to my network or I'm not sure what, PlayFab never returns either success or error on login from Unity. It's like my request is just hanging there. This has happened since I started working with PlayFab.
If I stop the game and restart, it nearly always returns success, though on rare occasion it seems to repeat the pattern of waiting for success. I have never seen an error returned in this circumstance.
So I am looking for a general strategy. It seems obvious that PlayFab is waiting for some kind of return, though it seems impossible to determine determine why, .
The question is, how to structure Unity to test whether it has been too long, and either send the request again or inform the user that there has been some kind of network issue?
Should I run a coroutine timer, the checks some flags that are set on success or error, and if neither has been set within a given time to take some action, such as trying to login again?
What happens if the game is still trying to login, and I send the request a second time?
Does any of this make sense, or am way off in my understanding of what is going on and how to handle the problem?