I made a tool that is effective at encoding any video format (supported by ffmpeg) and a player to unpack that bufferized string data at stable 60 fps using EditableImages;
During benchmarking, with scripts holding strings for a total of > 60 MB the Roblox Studio type checker would start scanning these scripts in the background and stop indefinitely, the autocomplete becomes disabled and confusing type errors show up in normal scripts. The scripts with data were not required directly, the type checker and autocomplete just break for all scripts in the game.
Tried to fix this by adding --!nocheck and an :: any typecast into the generated files and their return value, the scanning still starts in the background, I could deduce that by autocomplete becoming completely off and confusing type errors appearing. I believe the threshold for this happening is much lower, somewhere around 10 MB (it’s a guess, idk for sure). The reproduction files contain the full 60.2MB of data that first made this happen.
When closing a place with such case of broken type checker and autocomplete, the place would not close for 30 minutes, then I just used Alt+F4, it was much more effective. This only affects the place closing, you can still Save To Roblox as usual before you close the place. I always save before closing, so I don’t know whether any data could be lost because of this.
Visual Aids: autocomplete does not show up, type errors out of place show up.
This happens when your studio session is about 30-60 minutes old since the moment you opened the place. It is guaranteed to happen. At least one script must be open and regularly receive edits through the Roblox Studio script editor.
I believe this happens in every place and isn’t specifically tied to anything.
For staff, the System Information, Beta Features and Reproduction Files are available in the private content part of this Bug report.
Expected behavior
Something like: --!nocheck scripts (or scripts that are never required) should not be analysed, or analysis should give up on very large sources without breaking autocomplete in other scripts.
There should be a way (e.g. a Setting) to disable the type checking / scan for files by path or if they are over X bytes big. And a way to kill the type checker / scan process + restart it anytime.
A private message is associated with this bug report