question

Tony Lin avatar image
Tony Lin asked

Leaderboard not working as expected

When the aggregation method of a leaderboard is set to minimum, it keeps each player's lowest value, but the scoreboard is still arranged from highest to lowest. How can solve the problem?

It is meant to be a shortest time leaderboard, and the first place value should be the lowest. It is pretty annoying when my game reports the worst time as the world record.

Leaderboards and Statistics
10 |1200

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.

Ivan Cai avatar image
Ivan Cai answered

Currently, the leaderboard doesn't support for sorting in ascending order. For most of the developers, they will simply use the number's negative opposite for ranking at the leaderboard.

10 |1200

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.

Tony Lin avatar image
Tony Lin answered

@Ivan Cai But is there a way to get the last item on the leaderboard using the Unity Client API?

10 |1200

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.

Write an Answer

Hint: Notify or tag a user in this post by typing @username.

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.