Hello, i’ve encountered bucketing option in Leaderboards and have some questions regarding its functionality in terms of matchmaking as it’s not described in Leaderboards Manual > Buckets nor in leaderboards admin API.
Practical info i found regadring buckets:
- “[…] with a bucket size of 100, each player will only access the scores for the other 99 players assigned to the same bucket.”
- (From UGS dashboard when creatning Leaderboard) “[…] In bucketed leaderboards, players don’t play against all other players but instead only see the players in their bucket.”
- Players are assigned to buckets the moment they upload their score into leaderboard
- “For methods that retrieve scores: if your player has not submitted a score and the leaderboard is bucketed, the player is not assigned a bucket. A failed score retrieval returns an error that has its
Reason
field set toScoreSubmissionRequired
” from get-player-score
So correct me if im wrong, but based on this information i can see problems and following questions arise:
- Does Matchmaker automatically matches players in same bucket or does it need to use custom functions using admin API? Or maybe Buckets purpose is simply for “displaying” scores, not matchmaking? In this case i got confused by “players don’t play against all other players […]”.
- If it does work with matchmaker, what about players that are not yet assigned to leaderboard? Does it create separate queue for “unranked” players or do i have to write that logic myself?
- Is it avaliable to assign players to buckets based on some rules? (couldnt find any in admin API) Or is it 100% automatic?
- If it is automatic, another problem arise: If i use bucket size of 100 and 101 players enter my game and start competing there is 1st bucket with 100 players and 2nd bucket with 1 player - that would be a big problem, how can we prevent it from happening?
- If we group Leaderboard players in Tiers and matchmake them based on their tier/score proximity, do we really need buckets? We can still display for example 10 players around our score so buckets dont really help in this case.