microsoft / xbox-live-unity-plugin

The Xbox Live Unity Plugin provides a way for developers in the Xbox Live Creators Program to quickly and easily integrate Xbox Live functionality into their Unity based game. For ID@Xbox developers, this Xbox Live Unity Plugin does not yet support all the features you will need. Instead, contact your Microsoft representative.
MIT License
168 stars 55 forks source link

Leaderboard query returns empty result #288

Open CarbonFireStudio opened 4 years ago

CarbonFireStudio commented 4 years ago

Hi !

First of all thanks for doing this great unity project that helps a lot.

I have the following issue:

My leaderboard is empty while the stat it is associated with is working correctly.

When debugging :

Here’s what I’ve done :

(I’m using 1804 QFE 3 Release)

Thanks for your help

CarbonFireStudio commented 4 years ago

So I found something thanks to the HTTP Monitor :

My stats is well retrieved :

https://statsread.xboxlive.com/stats/users/2535426447756XXX/scids/00000000-0000-0000-0000-00006d474XXX

{"$schema":"http://stats.xboxlive.com/2017-1/schema#","revision":24355193410,"previousRevision":24349651077,"timestamp":"2020-01-22T09:16:35.5348053Z","stats":{"title":{"1":{"value":999},"highestscore2":{"value":20}}}}

But the leaderboard request is giving a 404 error :

https://leaderboards.xboxlive.com/scids/00000000-0000-0000-0000-00006d474XXX/leaderboards/stat(1)?xuid=2535426447756XXX&maxItems=25&skipToUser=2535426447756XXX

So this explains why my leaderboards are empty... Now does anyone have any idea how to fix this ?

Also, I didn't forget to create the leaderboard and press the "Test" button. image

Many thanks

phime commented 4 years ago

I'm in the same situation - POST is setting the score value - and GET is 404 as leaderboard does not exists. So someone from MS should explain - does this mean that leaderboard is not there before we publish the game on the store - or this is some error on the server side?

DreamShake133402 commented 4 years ago

I'm in this exact same situation as well fellas, Microsoft or Unity, or someone please help... please

Snigros commented 4 years ago

Me too...

turbo-codes commented 4 years ago

Any updates on this guys??

ImperialDynamicsOfficial commented 3 years ago

February 2021 and the issue is still not resolved!

MSFT-Heba commented 3 years ago

Hey everyone Just for awareness, we've posted an announcement that integrating Xbox Live is no longer a requirement for UWP games to be published on Xbox as part of the Creators Program and we are phasing out software needed to support Xbox Live on UWP.

For more details: https://github.com/microsoft/xbox-live-unity-plugin#2021-update-more-accessible-creators-program-no-longer-requires-xbox-live