Search Unity

  1. Get all the Unite Berlin 2018 news on the blog.
    Dismiss Notice
  2. Unity 2018.2 has arrived! Read about it here.
    Dismiss Notice
  3. We're looking for your feedback on the platforms you use and how you use them. Let us know!
    Dismiss Notice
  4. The Unity Pro & Visual Studio Professional Bundle gives you the tools you need to develop faster & collaborate more efficiently. Learn more.
    Dismiss Notice
  5. Improve your Unity skills with a certified instructor in a private, interactive classroom. Learn more.
    Dismiss Notice
  6. ARCore is out of developer preview! Read about it here.
    Dismiss Notice
  7. Magic Leap’s Lumin SDK Technical Preview for Unity lets you get started creating content for Magic Leap One™. Find more information on our blog!
    Dismiss Notice
  8. Want to see the most recent patch releases? Take a peek at the patch release page.
    Dismiss Notice

LoadScores only returning 10 rows

Discussion in 'iOS and tvOS' started by alphadogware, May 18, 2018.

  1. alphadogware

    alphadogware

    Joined:
    Nov 15, 2017
    Posts:
    24
    For some reason when I pull scores it only returns 10 score max.

    All of my leaderboards are live.

    I use the same basic code that you see on all the forums to scroll through the leaderboard entries.

    ILeaderboard flipcoinsLB = Social.CreateLeaderboard();
    flipcoinsLB.id = "FlipCoins";
    flipcoinsLB.LoadScores(flipcoinsscores => {
    foreach (IScore score in flipcoinsLB.scores) {
    if (Social.localUser.id == score.userID) {
    GlobalScript.flipCoins = (int)score.value;
    }
    }
    });

    There are about 26 unique entries in the list. When I pull up the leaderboard you can see that there are well more that 10 unique entries.
     
  2. alphadogware

    alphadogware

    Joined:
    Nov 15, 2017
    Posts:
    24
    This happens for all the leaderboards I have created. Is there a way to just pull the current user's leaderboard entries?
     
  3. alphadogware

    alphadogware

    Joined:
    Nov 15, 2017
    Posts:
    24