Data is being erased

My game’s data system only sometimes saves data. Whenever I play test my game, it usually saves, but other times my data will be erased. People who have played my game also report this problem.

There are no errors in the script. Why is data being erased?

Could you please show your script? There could be something wrong with your code.

Datastores being datastores, pretty sure. You could look into ProfileService or DataStore2 to prvent or minimise data loss.

Could you please link profileservice?

ProfileService