Hello!
We have received some reports for our users in Royale High whose data occasionally hasn’t been saving in private servers. From what I can tell, two potential issues may be going on.
#1. HttpService requests not always firing during server terminations in private servers. We have a backup server in place to save our player’s data in conjunction with Roblox Data Stores, which then the next time the player joins, we fetch and compare timestamps to be able to determine if the ROBLOX data did not save (we save the same timestamp to both roblox and our back end). We keep track of every time our back up data store gets used, and we do see several of these rewrites. It seems to range anywhere from 500 rewrites per hour to 3000 during peak times.
#2. DataStores aren’t always going through in private servers, with no error/warnings logged whatsoever. We implement :BindToClose() and are yielding the shutdown for the maximum 30 seconds, are still seeing reports. We log any time we are even close to hitting the data store cap, and we have no errors/queued warnings logged whatsoever.
The reports have been coming in for some time now, and we really need a way to make sure it doesn’t happen whatsoever, so I am very curious to know if any other developers have experienced these issues. The good news is that we’ve been able to link all reports to private servers, so that is likely the source of the issue. Thank you
Ice