Tournament Ranking inconsistency

We have found some inconsistency in tournament ranking listing. After executing ListTournamentRecords a record contains rank value when returned in Records list and at the same time a record in OwnerRecords list for the same user has null rank. This occurs for users that joined a tournament but not updated a score yet. From the server code it looks that ranks in Records collection are populated from the database query and ranks in OwnerRecords are obtained from the cache, that is populated during record writes, but not during join. Our current solution is to prefer a record from Records if it appears in Records and OwnerRecords, but it would be nice to have a consistent view.

Additionally C# client documentation does not mention that rank is optional.

  1. Versions: Nakama 3.14
  2. Server Framework Runtime language (If relevant) Go

Hey @jlisicki-ccgames we’re going to take a look and will follow up with any questions.

@jlisicki-ccgames Thanks for pointing this out, a fix is merged and will be part of the next release. Please update this thread if you still see issues after that! :+1:

Thanks for a fix. And in that case, I wait for the release.