Thank you so much!
Can you go over what caused it? Would love to know more!
Thank you so much!
Can you go over what caused it? Would love to know more!
This is still broken when using coroutines, the code below will error and freeze up studio
game:BindToClose(function()
local thread = coroutine.running()
delay(5, function()
coroutine.resume(thread)
end)
coroutine.yield()
end)
I know this post is old but I would like to point out the bug still exists!
Basicly, the bug is whenever I try to use BindToClose() in studio, errors spam the output and I am unable to stop the game. I even tried closing studio, but when I re-opened the place it kept sending error messages. The error messages say:
09:56:46.706 - Not running script because past shutdown deadline (x115049)
and it never stops.
Here is a video:
runService:IsStudio()
to check wheter itâs in studio, and not use BindToClose()
if it is, but when I hit Play it still spams the output (Because the errors never stop, so the errors are from when I first tested it with BindToClose()
)
If your wondering, Iâm running Studio on a Macbook Pro, Version 10.15.4
.
Thanks for letting us know thereâs still an issue here. If you can create a minimal rbxl file that repros this issue, itâs a lot more likely be able to fix it sooner.
For some reason, it only does this on the game Iâm working on, but here is a game that uses BindToClose in a script called Read-Me in the workspace:
Error.rbxl (17.8 KB)
You have to publish it to Roblox, otherwise it doesnât do the datastores. It doesnât spam the output like my other project, but it still freezes for a while.
The error has started occuring for me now also.
Whenever me or my friend plays the game and then press stop we get âScript that implemented this callback has been destroyedâ and after pressing âOKâ on that prompt we get âNot running script because past shutdown deadlineâ
âShow Detailsâ on âScript that implemented this callback has been destroyedâ gives me my console output I wouldâve gotten otherwise
Image of console output:
Weâve both tried restarting studio multiple times but nothing has worked. Its occurance rate like its happening in the video is like 80-90%.
SooâŚwhatâs the fix? I am using ds2 and this still occurs.
I donât know about DS2 but my problem was that I accidentally moved my saving script to StarterGui.
if you have admin in your game like adonis it causes the problem, it has bindtoclose inside the loader which causes this problem.
This post is marked as solved, please file a new bug report.