On one of the games I am working on there is literally something going wrong… The DataStore is just removing random saves… Some people’s reports (it has never happened to me).
I have made 3 scripts yet, all of them were buggy. Currently we are using save by @stravant and the bug is still happening. It could be datastore limit, but I have checked all of them… Also they wouldn’t cause completly removed data. DataStorage Budget:
As far as I know, The PlayerDataStore module can’t possibly hit the request limit (unless the value of PASSIVE_SAVE_FREQUENCY was set to something very low.) and that you have to explicitly pass a third variable to SaveData:Set() in order to set a key’s value to nil.
Could you tell us how you confirmed that data was, in fact, lost?
Huh, I have actually live console, where I can manage player’s save. I didn’t also change this property and I did use SaveData:Set() so… We can check everything actually…
Ok, so actually I have checked it… This seems weird, because this player says that he lost it, but he has got it… But the bug still happens… We had things such as this before:
Summary
These actually says that current pokemon is Bulbasaur, but that’s because it is a default pokemon.
If you want you can PM me the relevant Save/Load code and I’ll see if I can spot any way that it can go wrong (Though I will publicly shame the particular issue if I find something so that other people don’t repeat the mistake).