play-games-plugin: Loadscores ignore leaderboard's range settings

Hello, everyone

I have a problem with GooglePlay leaderboards, using play-games-plugin-for-unity.
I try to get five scores, where user score will be in the middle of list:

  1. TopPlayer1 1000
  2. TopPlayer2 900
  3. USER 800
  4. BottomPlayer1 700
  5. BottomPlayer2 600

I’ve tried it in this way:

 ILeaderboard lb = PlayGamesPlatform.Instance.CreateLeaderboard();
           lb.id = leaderboardID;
           lb.timeScope = TimeScope.AllTime;
           var startPos = (PlayerCurrentPosition > 3) ? PlayerCurrentPosition - 2 : 1;

           lb.range = new Range(startPos, 5);  // <--- SET RANGE

           lb.LoadScores(ok =>
                {
                    if (ok)
                        LoadUsersAndDisplay(lb);
                });

But everytime I get five results started from player current position and below, totally ignored range settings.

So I’m not 100% sure, but try modifying the range value within the LoadScores function. For some attributes you’ll need to wait for the event to finish to actually modify them.