I’ve built a game (C#, UWP, Monogame) and want to integrate it with Xbox Live SDK (Microsoft.Xbox.Live.SDK.WinRT.UWP from NuGet).
Already got auth working but experiencing some problems with StatisticManager/Leaderboard.
What exactly am I doing:
Add user with
StatisticManager.AddLocalUser(user)and wait forStatisticEventType.LocalUserAddedevent fromDoWorkSave score with
StatisticManager.SetStatisticNumberData(user, leaderboardName, data)and wait forStatisticEventType.StatisticUpdateCompleteevent fromDoWorkGet the leaderboard with
StatisticManager.GetLeaderboard(user, leaderboardName, query)and wait forStatisticEventType.GetLeaderboardCompleteevent fromDoWork
On step 3 I get a C++ exception:
“Not found (404)”.
[This looks very similar to this issue](Exceptions and Error 404 when using StatsManager ).
So I’ve already checked the sandbox ID, config file and leaderboard ID but still get the same result.
I did capture the traffic from HTTP monitoring and I see URL like:
"https://leaderboards.xboxlive.com/scids/{scid}/leaderboards/stat({leaderboardId})?xuid={myXboxId}&maxItems=5"