Studio crashes after I edit a script, test the game, then go back to editing the script. This only happens, however, if the place has been published. This crash prevents me from editing any scripts after playing or running the game.
To replicate the crash:
Open any Roblox place.
Create a script and edit it.
Publish the place to Roblox.
Test the game using the Run or Play buttons.
Stop the game.
A duplicate script appears as a tab (see image):
Click on one of the two script tabs.
Studio crashes a second later and displays a message:
This problem started happening after updating to Studio Version 0.338.0.202976 earlier today. It happens on every computer I have. The operating systems are Windows 7 Home Premium and Windows 8 Enterprise.
Hmm, we were unable to reproduce this issue here. Could you provide a bit more information?
When did this start happening?
Did you explicitly disable the debugger?
Is team create enabled for this place?
If you close the scripts without opening them up, does it still crash? What if you reopen the script after that?
Could you send me the crash dmp? (If you are unsure how to do this, please dm me and I can walk you through)
The problem started happening earlier today, just after installing version 0.338.0.202976.
I did not explicitly disable the debugger.
Team create is not enabled.
It seems that if I close the duplicate script tabs, then it does not crash. It only happens when viewing the duplicate tab.
I’m not sure how to attach the dmp file.
We have a fix for the crash going out next week, but are still investigating the script duplication issue.
Another question. Will script duplication happen repeatedly in the same session? For example, if you play solo, get a duplicate script, stop play solo, close the script, then play solo again. Will you get another copy of the script or does this only happen once per session?
I am able to reproduce the script duplication bug every time, which after opening one of the duplicated scripts, results in my studio crashing. In response to your question, I was unable to cause the same script to duplicate multiple times in the same session.
What I do to cause this issue:
Open my game from the website, via the Edit button
Open one or more of my scripts, specifically without editing them, just opening them
Play Solo
Stop the session
Open one of the duplicated scripts and click on any line in the script
It crashes
I think this could potentially be related to the automatic saving of what scripts you had open previously, because in one of my tests, I only opened one script to see if it would duplicate, but a script that I had open in my previous session appeared after I stopped play solo, despite me not opening it at all in my current session.
We have a fix for the script duplication issue, so the crashes with editing a duplicate script after playSolo will be fixed when that is released. This should be out later next week (Wednesday/Thursday)