Accurate Play Solo BindToClose DataStore doesn't save

print(game:GetService("DataStoreService"):GetDataStore("asdf"):GetAsync(1))
print(game:GetService("DataStoreService"):GetDataStore("asdf"):GetAsync(2))

game:BindToClose(function()
	print("start")
	game:GetService("DataStoreService"):GetDataStore("asdf"):SetAsync(1,false)
	print("mid")
	game:GetService("DataStoreService"):GetDataStore("asdf"):SetAsync(2,true)
	print("fin")
end)

THIS WORKS IN GAME

In Accurate play solo, it gets stuck on the first SetAsync (1,false) and the studio will yield until BindToClose times out (although it successfully saves it):
image

1 Like

Duplicate of BindToClose 100% Infinite Yield

2 Likes

Duplicate thread of post linked above