We are using the PlayFabUnitySdk.
Occasionally we get an error when invoking /Client/GetPlayerStatistics. We have updated to the latest SKD version, but the problem persists. The line that breaks is
bool isGzipCompressed = responseBytes != null && responseBytes[0] == 31 && responseBytes[1] == 139;
I assume the problem is that responseBytes is shorter than 2. I do not see how we can handle this error in any way, as it is internal to the SDK. Below is the ErrorMessage we get. Please advise.
Unhandled error in PlayFabUnityHttp: System.IndexOutOfRangeException: Index was outside the bounds of the array. \n at PlayFab.Internal.PlayFabUnityHttp+<Post>d__12.MoveNext () [0x001c3] in PlayFabSDK\\Shared\\Internal\\PlayFabHttp\\PlayFabUnityHttp.cs:170