So I have a datastore setup that saves only 3 values,
but… MOST of the time when I leave the game, it only prints(“a”) and so the data won’t save.
I heard this was a common problem and I want to know if any of you guys know how to fix this.
Bump! This is a problem I recently started facing, the GetAsync() method works correctly, but on player leaving using method SetAsync(), it doesn’t save at all. Tested both in studio and in game.
And yes, I’ve used pcalls to return values which don’t return anything most of the time.
1- You didn’t show a good amount of code so i can respond or help you in any case.
2- How about you wrap it on a pcall and repeat that set async request until it saves or gets to a limit, Also use BindToClose Event.