Open
Description
Describe the bug
In the PlayGamesScore constructor, the parameter 'leaderboardId' is not used and the function is actually using the class variable leaderboardID instead.
To Reproduce
Steps to reproduce the behavior:
- View the code in PlayGamesScore.cs
internal PlayGamesScore(DateTime date, string leaderboardId,
ulong rank, string playerId, ulong value, string metadata)
{
this.mDate = date;
mLbId = leaderboardID;
this.mRank = rank;
this.mPlayerId = playerId;
this.mValue = (long) value;
this.mMetadata = metadata;
}
Note the different case causing the erroneous assignment.
Expected behavior
Parameters passed to the function are used correctly
Observed behavior
Leaderboard id is ignored and the value already in the class is used
Bug Report
NA
Screenshots
NA
Versions
- Unity version: All
- Google Play Games Plugin for Unity version: 0.10.14
Additional context
NA