~Sorry if this is just a roblox bug, I couldn’t post this as a bug report for some reason~
Quite a while ago, I had a datastore recovery centre on one of my games when suddenly it stopped working properly. I tried doing a manual version check and realized there is only one version under my own key even though I’ve updated my data a lot.
I’ve tried using the code provided on the roblox website:
local DataStoreService = game:GetService(“DataStoreService”)
local experienceStore = DataStoreService:GetDataStore(“EquippedSkins”)
local time = DateTime.fromUniversalTime(2020, 10, 09, 01, 42)
local listSuccess, pages = pcall(function()
return experienceStore:ListVersionsAsync(35631327, nil, time.UnixTimestampMillis)
end)
if listSuccess then
local items = pages:GetCurrentPage()
for key, info in pairs(items) do
print("Key:", key, "; Version:", info.Version, "; Created:", info.CreatedTime, "; Deleted:", info.IsDeleted)
end
end
and it printed this:
Key: 1 ; Version: 08DA9CF2327339EA.0000000069.08DB0894E4274F01.01 ; Created: 1675723977902 ; Deleted: false
and after updating my data with a plugin, it printed this:
Key: 1 ; Version: 08DA9CF2327339EA.000000006A.08DB7B2197E42CCB.01 ; Created: 1688318841550 ; Deleted: false
Is :GetVersionsAsync() just not working properly or is something happening with this that I’m unaware of?