We have updated PlayFab SDK to v. 2.106.210406 and all of a sudden, if HttpWebRequest is used as request type, no callback is called on success. We identified the problem in:
PlayFabSDK/Shared/Internal/PlayFabHttp/PlayFabWebRequest.cs, line 254
if (localActiveRequests[i].HttpRequest.HaveResponse) <-- HaveResponse does not seem to work
we changed it to:
if (localActiveRequests[i].HttpRequest.GetResponse() != null) <-- it works!
I assume this is a bug, let me know if I am missing something.
We are trying to reproduce this issue. We will keep you updated as soon as possible.
Answer by Ivan Cai · Apr 28, 2021 at 08:31 AM
I test calling loginwithemailaddress API to reproduce the two situations you mentioned. As a result, I can see the LoginSuccess callback in the console. Can you provide the code you tested?
Not sure what kind of code could help, but what happens is that NO api call ever calls any callback - I did try with LoginWithiOS, with Android, with DeviceId - not a single api call works... Just to be clear, everything has been working fine until we upgraded to the specified version, with no other change in the code. We have been running this code for almost two years now.