MemoryStoreService Does Not Work On Studio

Reproduction Steps
Use GetRangeAsync on any memory store that you know for sure has a key value pair. Loop through the items to print.

local exclusiveLowerBound = nil
while true do
    local items = map:GetRangeAsync(Enum.SortDirection.Ascending, 200, exclusiveLowerBound)
    for _, entry in ipairs(items) do
        print(entry)
    end
    if #items < 200 then
        break
    end
    exclusiveLowerBound = items[#items].key
end

Expected Behavior
I would expect it to print on studio.

Actual Behavior
It does not print on studio. It only prints on an online server.
image

Workaround
Testing on play mode only.

Issue Area: Studio
Issue Type: Other
Impact: Moderate
Frequency: Constantly
Date First Experienced: 2021-12-15 00:12:00 (-08:00)
Date Last Experienced: 2021-12-15 00:12:00 (-08:00)

1 Like

Memory Store has a separate namespace from live to studio so as to safely test. Is the data you’re testing against apart of live or studio?

There is a setting in place configuration that allows you to turn on API calls or something along those lines in studio.

1 Like

The data I’m testing is part of the live, but I’m trying to test it on studio. Do you know how I can?

It is not possible to access live Memory store data in studio, please see
Memory Stores | Roblox Creator Documentation . To check live data you will need to use developer console inside the game.

Sorry for bumping, I currently do not have access to make feature requests. Personally I find it convenient to access production memory storage through studio, sometimes I would like to modify variables without getting into a game. So it would be awesome to have the option to disable this behavior.

2 Likes

Thanks for your feedback, we will look into adding this as a possibility.

4 Likes

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.