I am trying to update a leaderboard record’s metadata without changing anything else in the records.
I am trying to do this from server side only.
My leaderboard is created with Operator = Set
I tried to list the records first using nk.LeaderboardRecordsList
Then write the record again using LeaderboardRecordWrite after updating metadata
The issue with this approach that it will not accept Setting the record if the score is the same
It’s unusual to update records when the score doesn’t change. Could you share what kind of metadata you are storing there and why it needs to be updated?
I’d suggest you combine the profiles data and the scores in a single RPC that uses both calls (fetching all profiles in a single call) instead of duplicating the profile data in the records metadata, it’ll perform well and will also prevent any changes to the profile data to have to be propagated to any existing records.