Warning regarding GameAnalytics SDK

Thanks!

I can confirm that the changes have been made. The quick response to these issues is really great!

4 Likes

One other way to do it could be using the scope as current hour

local currentHour = math.floor(os.time/3600))
local dataStore = DS:GetDataStore("GA_ErrorDS_1.0.0", currentHour)
local errorCount = dataStore:IncrementAsync(key, step)

you should also add some limits to prevent the module from calling datastore functions to often. If a game has a lot of unique errors it could result in players data failing to save.

3 Likes

Good point thanks. Will fix that for next release.

There should be a fix in the latest version now. Feel free to come with feedback if you still feel it is still not good enough :slight_smile:

8 Likes