Leaderboard query returns empty result
Opened this issue · 7 comments
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 :
- I see that the stat itself is get and set correctly.
- the leaderboard query returns no error, but an empty result (0 rows, 0 columns)
Here’s what I’ve done :
- used leaderboard example scene
- placed an integerStat prefab in the scene
- added my stat ID in the integerStat prefab
- drag-dropped the integerStat prefab in the corresponding field in the leaderboard prefab
- built and test on Xbox One
- I can login successfully
- the leaderboard is empty
- if I add a StatPanel prefab I can see the value of the stat is retrieved correctly
(I’m using 1804 QFE 3 Release)
Thanks for your help
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.
Many thanks
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?
I'm in this exact same situation as well fellas, Microsoft or Unity, or someone please help... please
Me too...
Any updates on this guys??
February 2021 and the issue is still not resolved!
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