SetAsync yields infinitely

Hello DevForum,

so recently I was scripting the data loading & saving for my game and when I tested the code, it seems to infinitely yield from the line of SetAsync and below.

Adding onto that, if I put SetAsync into a coroutine, I get an error looking like this
I’ve been trying different ways, for UpdateAsync it’s the exact same.

Thank you for reading & taking your time
Asmeili

This is a known issue and a fix is imminent.

Is there any work around without needing to use a custom datastore?

Go into your datastore BindToClose and simply don’t save if you’re in studio. You can check this via RunService:IsStudio().