Whenever I write in some scripts I press a button and it takes like a couple of seconds before the text actually appears, Studio stops responding sometimes and every time I open a new place it freezes at 28% for like 5-10 min. When it works it shows me some error that it could not fetch game settings and then the game loads.
I have never had these issues before, I started experiencing them when I started my computer some hours ago.
I have tried reinstalling, removing plugins and restarting my computer but nothing seems to help. I have deactivated beta features and reactivated and tested most stuff but it won’t work.
Some black box is also appearing sometimes, probably the box that shows you list of variables and functions just that it wont work correctly. I have also had issues a while back where when I wrote “Enu” and pressed enter for it to auto-fill, studio crashed. That bug fixed itself I think because I didn’t do anything to fix it.
All other programs work fine and work fine while Studio is not responding too. It’s not running out of CPU power or RAM as its not using much at all according to task manager.
(I was pressing buttons all the time in the GIF but it lags so much)
Windows 10 1909 64bit
Intel Core I5 7400
After further investigating I have discovered that it doesn’t matter how long the script is, what matters is how many variables there is. I will include a script with not that many variables but that still lags. It’s about 200 lines and about 20 variables. When I removed them it stopped lagging. Maybe something related to the autocomplete? But when I turn off autocomplete I still get the same issue. It’s really weird, and the script doesn’t have to be large at all as I first thought. I won’t include a place file as I would like to keep the stuff there private. But this happens in most places for me, when I inserted the script into an empty baseplate I didn’t experience anything. I could send the place file to an mod or something if you want.
Module.lua (6.1 KB)
This GIF is taken on my laptop with the same issues.