I have 4 leaderboards for my game using Google Play Games, but only one will upload the score

It worked yesterday, but after I edited the script it didn’t work. Now I have changed it back, but it still doesn’t work.

Here is the part of my script for the leaderboard that works (the method is called when you get a high score):

using UnityEngine.SocialPlatforms;
using GooglePlayGames;

    public void DoLeaderboardPost(int _score)
    {
        Social.ReportScore(_score, GPGSIds.leaderboard_rush,
            (bool success) =>
            {
            if (success)
            {
                logText.text = "";
            }
            else
            {
                logText.text = "Score failed to post to online leaderboard";
            }
        });
    }

This is the part of the script that controls the 3 leaderboards that don’t work:

using UnityEngine.SocialPlatforms;
using GooglePlayGames;

    public void DoLeaderboardPost(int _score)
    {
        if(taskGoal == 5)
        {
            Social.ReportScore(_score, GPGSIds.leaderboard_time_trial__5_tasks,
                (bool success) =>
                {
                    if (success)
                    {
                        logText.text = "";
                    }
                    else
                    {
                        logText.text = "Score failed to post to online leaderboard";
                    }
                });
        }

        if (taskGoal == 10)
        {
            Social.ReportScore(_score, GPGSIds.leaderboard_time_trial__10_tasks,
                (bool success) =>
                {
                    if (success)
                    {
                        logText.text = "";
                    }
                    else
                    {
                        logText.text = "Score failed to post to online leaderboard";
                    }
                });
        }

        if (taskGoal == 20)
        {
            Social.ReportScore(_score, GPGSIds.leaderboard_time_trial__20_tasks,
                (bool success) =>
                {
                    if (success)
                    {
                        logText.text = "";
                    }
                    else
                    {
                        logText.text = "Score failed to post to online leaderboard";
                    }
                });
        }
    }

In this script, the method is called from this (timerTime is a float):

DoLeaderboardPost((int)(timerTime * 100));

Btw the bool “success” becomes true so that must mean that the score is succesfully uploaded. But there is nothing on the leaderboard. And yes my game activity is set to public. I hope someone can help :wink:

I found the problem. I forgot that I had set the highest allowed score to 999 in Google Play Console. The reason it worked yesterday was becuase I didn’t multiply the score by 100. When you multiply the score with 100 it almost always goes over that limit.