Hi, can i turn on some logging (like Debug.Log) for Playfab SDK to know what playfab is doing in the background? The latest sdk doesnt return from an executeCloudscript on iOS and i dont know what is happening.
Thanks, Milan
Not currently, but we have a backlog item for that. For a quick-and-dirty version, you could simply add a debug log line in the serializer or HTTP common code.
For the ExecuteCloudScript call, can you try stepping into the code in your debugger, to see what the specific response is from the service? Can you share your code snippet for how you're making the call, and let us know the Title ID and the specific values of the parameters being passed in?
I wrote the logging into the http code, thanks
Actually we just didnt wait enough time, pfab calls took up to 22 seconds to receive the answer. Now the problem is gone without fixing anything on our side, so im not sure what caused this huge delay (ios specific or network problems on that device or anything on playfab side or our game code somehow). When it re-appears i try to find out more.
If a call were to take that long, there would be alerts firing on our side, so there's something else going on there. What is the Title ID for this? You can see the average response times for all calls in the API report, but I can also check the details on our side, to look for outliers.
This is a usual call time on Windows from unity editor, logs are from pfab www:
4/7/2017 16:30:52.198 [ Log] [ U] PFAB WWW POST: https://6513.playfabapi.com/Client/ExecuteCloudScript
....
4/7/2017 16:30:54.768 [ Log] [ U] PFAB WWW RESPONSE: https://6513.playfabapi.com/Client/ExecuteCloudScript
it is calling our "GetTimeSeconds" cloud script, which is not doing much.
2 People are following this question.