I've been trying to track down a bug with our game for a while now, but I've hit a wall. We rely on the resolution of a PlayFab login before we finish our startup initialization. One of the things we use PlayFab for is storing some configuration in the title data, so knowing if we're logged in and that we can access that data is critical.
My problem is that some of the requests to PlayFab are taking a confusing amount of time (40+ seconds). Primarily the login request, since that's what blocks the initialization of the game, but I have also noticed it on some cloudscript execution requests. We added our own "Timeout" which is just a co-routine that retries the request after ~20 seconds, which reduced the number of tickets we received. However, many users fail 3+ times without a single response from the API.
Where would you suggest that I go from here?
I would assume it's a timeout issue, but other questions on the forums state that the timeout is 2.5 seconds, which would be greatly exceeded here. Could it be the PlayFab `RequestKeepAlive` setting keeping the request from timing out, but then the request still taking over a minute to reply?
We're using unity 2018.3.14f1, with the PlayFab sdk 2.75.191001, our TitleID is 713F0
Our PlayFab settings are configured to use:
Frustratingly I cannot recreate this delay on my own machine, it only happens to users while on mobile devices. It doesn't seem specific to Android or iOS as I get user reports for both. We include unity's NetworkReachability in the support ticket, and devices are reporting `ReachableViaLocalAreaNetwork` and `ReachableViaCarrierDataNetwork`
Any help is greatly appreciated, thanks in advance!