Update Leaderboard Metadata Without New Score

I’m using Unity’s built-in Leaderboards for my game. I want to be able to change the metadata attached to a player so they can change teams, but AddPlayerScoreAsync() only works if the player has a new high score.

I know I can change the player’s name with UpdatePlayerNameAsync(), but the metadata seems tied to the score rather than the name.

Is there some way to update the metadata without requiring a new score from the player?

I’ve come up with my own solution:

Because I store the player’s high score locally (in PlayerPrefs), I don’t need to tell Leaderboards to update the score with the highest score, but rather the latest score, and just always pass the high score value. Since it will update every time with the latest, it allows me to update the metadata without updating the score.