Closed justinbalaguer closed 1 year ago
@justinbalaguer What version of the game server do you use?
@justinbalaguer What version of the game server do you use?
3.15.0 for nakama 2021.3.7f1 for unity
@justinbalaguer What are you passing as the version? Is it the value you receive when you get the storage objects, and is your storage key experiencing concurrent writes?
collectionObject
is from a ScriptableObject
@justinbalaguer this error means that you are passing a value of Version
that is different than what the server has for your data. The most likely cause is that you aren't passing the version from the acknowledgment of your last write or "*" if it's your first write:
https://heroiclabs.com/docs/nakama/concepts/storage/collections/#conditional-writes
Closing because this doesn't seem to be an SDK issue. If you can fully reproduce a bug on the server please file it on our Nakama repo: https://github.com/heroiclabs/nakama
Suddenly have this error when using
WriteStorageObjectsAsync
code is similar to sample here https://heroiclabs.com/docs/nakama/concepts/storage/collections/#conditional-writes
Tried restarting the server and deleting saved
account
andstorage
still having that error.