MemoryStore UpdateAsync crashes if you don't return any value

The following code (in the command bar or a script) crashes Roblox (both in Studio and in live servers):

mss = game:GetService("MemoryStoreService")
test = mss:GetSortedMap("Test")
test:UpdateAsync("0", function() end, 1)

Expected behaviour: Either interpret not returning anything as a cancelled update or error.

Note: returning nil cancels the update as expected.

1 Like

Thanks for the report! We’ve filed a ticket to our internal database and we’ll follow up when we have an update for you.

1 Like