Studio Freezing When Stopping Play Mode

Occasionally stopping play mode in studio will completely freeze the application. You are unable to click any button or close the application without using task a manager. It’s almost like it runs at an incredibly low FPS because the application will update after you click a button sometimes after a few seconds.

The bug has happened in every place I’ve worked in recently and it has been happening for about 1-2 weeks.

Video of the bug in action

Visual glitch after freeze

Reproduction Steps
The bug happens only when I click stop, however it doesn’t happen every time. It seems to happen only after I’ve clicked Stop a few times. Like 5-10 times.

Dump File
https://drive.google.com/file/d/1-QMAo7mPkca8XJ9f_BL96q4NU--NDF6m/view?usp=sharing

8 Likes

Hi Raaaaaaaav, a couple questions as I’m unable to reproduce this myself:

  • You said “The bug has happened in every place I’ve worked in recently”, have you tried reproducing this issue with a vanilla Baseplate? If not, let me know if you still see the issue there.
  • I noticed you are using a lot of plugins, could you try turning all of them off and check if the issue persists? If the issue goes away then it’s a matter of figuring out which plugin is causing the freezing.

Let me know your findings, thanks!

2 Likes

Yes, the bug still happened in a vanilla Baseplate. I disabled all plugins and deleted all local plugins and I’ve played and stopped about 100 times and it hasn’t happened, so this is likely the cause. I will try to experiment with each plugin, but it will probably take me a while.

2 Likes

Great that it’s not happening with all plugins disabled! Unless the bug is specific for a combination of plugins, you could use binary search to limit the amount of experimenting you’re doing (enable half plugins, see if bug occurs, if not then it’s a plugin in the other half, repeat with other half)

Again, let me know your findings, thanks!

1 Like

Actually, maybe not a specific plugin. It’s pretty inconsistent when the bug happens, maybe I just got lucky and it didn’t do it without any plugins. I managed to replicate it with these plugins:
https://www.roblox.com/library/4048317704/Rojo-6-0-0-Release-Candidate-1
https://www.roblox.com/library/2867765019/Reclass-free-intelligent-class-conversion
https://www.roblox.com/library/948084095/Tag-Editor

Hey Raaaaaaaav,

I tried playing / stopping continuously with the above three plugins installed and am still not able to reproduce this. I also noticed based on your screen recording that stop was clicked while the play test is loading, so I tried this a bunch of times as well with no luck.

I would try to narrow down whether the plugins are causing this issue (if you think you got lucky, keep trying in a session with no plugins and see if the bug occurs) and then we can go from there.

I am in the process of checking over bug reports and following up on some bugs that haven’t received any activity in a while.
Is this issue still occurring or can you confirm that this bug has been resolved?

Hi! Turning off gsync solved this for me.

This issue appears to occur when there is a script with BindToClose() in it. Disabling/ deleting the line erases the error completely.