Hello, I've found this thread and we have completely same issue. Out title ID is BB6D9 and we are using Essential Tier. What is the cause of problem? Does mentioned thread resolved?
Thanks in advance.
Hello, I've found this thread and we have completely same issue. Out title ID is BB6D9 and we are using Essential Tier. What is the cause of problem? Does mentioned thread resolved?
Thanks in advance.
May I ask does it only occurs on the Xbox client? Can you try the API calls on other devices or RESTful testing tools like Postman, but with the same network environment?
Hello! I've tried to perform LoginWithCustomID with Postman and in Unity Editor - in both cases I get response 200 OK. Only on Xbox Client we encounter this issue.
Have you created game title in Partner center and associate it with your local Unity project? You may refer to this thread: https://community.playfab.com/questions/34572/playfab-and-xbox-integration-in-unity-game.html.
Hello @SethDu, I've received response from Xbox support
"Did you first perform a GetTokenAndSignatureAsync call to <playfab title id>.playfabapi.com? This step will only succeed if you've generated a certificate (.cer) for your webservice and sent it to PlayFab support for registration."
I've created a webservice and generate a certificate for it. How can I sent it to you?
Hi @Dmitriy Fokin, we are trying to contact with the right team for your request. We will keep closely track the progress and let you know. Thank you for your patience.
Hello @FranklinChen, thanks a lot for assistance. We are on standby.
Hi, I have submitted a report to the team and will keep you informed if there are any updates.
Hi @Dmitriy Fokin, I just got the confirmation from product team, there is no certificate setup necessary for Xbox Live use, as PlayFab is a base service of XBL. Based on your description, there isn't a problem in PlayFab with the call to login, as it works fine in Postman.
Therefore, the specific behavior when you're making the call from their Xbox build has to differ. Could you please capture a Fiddler trace of the test on Xbox, so that we can check to see what's actually going on. See the guidance here: https://docs.microsoft.com/en-us/windows/uwp/xbox-apps/uwp-fiddler & https://docs.microsoft.com/en-us/windows/uwp/xbox-apps/device-portal-xbox
Hi @FranklinChen, I've tried to catch fiddler traces, but I didn't received logs with calling playfabapi, Xbox cut off requests before the reach endpoint. So anyway, it seems that problem solved.What I did - Unity has PlayFabSharedSettings asset file where you can choose 'Request Type'. By Default it has been set with UnityWebRequest, and I've seen on the forums that this request type is preferred for calling PlayFab Api from Unity. I just changed it to HttpWebRequest and before calling Login method I put this line "PlayFab.Internal.PlayFabWebRequest.SkipCertificateValidation();". And it works! I hope this information will help someone else.
Thanks a lot for assistance to you and to @SethDu.
Thank you for sharing your solution, I believe this will help our community member to solve the similar issue on Xbox.
Hello @FranklinChen and @SethDu! I would like to know how is it going with the request? We are on a finish line to release, and this issue is blocking us. Also, can you provide some sort of link to the docs of how to setup playfab in the Partner Center? Because I can't find any. Thanks in advance!
Hi @Dmitriy Fokin, Playfab team releases some guidance with Word format, please see the samples and word doc here: https://github.com/PlayFab/PlayFab-Samples/tree/master/Samples/Xbox/Samples/XDK/SimplePlayFabAuth
Hi @FranklinChen! I've implemented login according to provided examples and this didn't work. The problem probably lies in Partner Center settings. The guidance your team is going to release - does it contains examples of Partner Center configurations?
3 People are following this question.