Search Unity

  1. Full schedule for #UniteBerlin is now available! Featuring talks on our roadmap, hands-on labs and much more! Check it out!
    Dismiss Notice
  2. Unity 2018.1 has arrived! Read about it here
    Dismiss Notice
  3. Scriptable Render Pipeline improvements, Texture Mipmap Streaming, and more! Check out what we have in store for you in the 2018.2 Beta.
    Dismiss Notice
  4. ARCore is out of developer preview! Read about it here.
    Dismiss Notice
  5. 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
  6. 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:
    19
    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:
    19
    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:
    19