Unable to download Gamer Pic, receive error HTTP/1.1 400 Bad Request - Unity Xbox Live

  • Thread starter Thread starter Mintydog
  • Start date Start date
M

Mintydog

Guest
Hi All,


I am using Unity 2019.4.2f1 and the Xbox Live plugin QFE2/

I have almost everything working, i can sign in on the PC and on the Xbox, but the gamer pic does not load in.

Inside the PlayerAuthentication.cs file there was this piece of code "var www = new WWW(socialUser.DisplayPicRaw + "&w=128");" which I have updated to UnityWebRequest www = UnityWebRequestTexture.GetTexture(socialUser.DisplayPicRaw + "&w=128"); due to unity telling me WWW is deprecated.

However when the web request is complete the www.error code is "HTTP/1.1 400 Bad Request" so the gamer pic never displays.

Can anybody help with this please?

Also I wanted to ask this question in the Xbox Live Development forum, but for some reason it isn't giving me that opeion.

Thanks

Continue reading...
 
Back
Top