Typing in the script editor is extremely slow in macOS

It’s been over a month, any updates so far?

Yes, I have recently encountered the issue. Not sure what causes it. Might be after I installed a plugin. It has never been that slow before until I decided to install a new plugin.

:computer: Sloooooooow typing…

And currently, I’m working on the scripts outside Studio just to avoid the issue and only use Studio for the purpose of reading.


Reinstalling Studio proves ineffective.

Current specs:
macOS Mojave 10.14.5
MacBook Air(11-inch, 2015)
1,6 GHz Intel Core i5
4 GB 1600 MHz DDR3
Intel HD Graphics 6000 1536 MB

3 Likes

If it started happening when you installed a plugin, have you tried using Studio wit plugins disabled? Can you link the plugin?

3 Likes

I don’t believe it is plugin-specific, because this plugin is newly published and posted in DevForum. I’ll check tomorrow with all my plugins disabled(doubt this works, because other users reported the result, maybe restarting Studio once will help after procedure?)

If you wonder which plugin, it is the Plugin: Local File Importer (Import Images from your Computer!). However. I am doubting that installing a plugin slows it down as I might’ve been oblivious during development(lack of sleep I guess).

Okay, so the current report by disabling all plugins:

It did not resolve it.


Interestingly, when I checked the processor’s stats, it appears to clog up on Studio heavily while typing. I went on testing by randomly hitting keys on the keyboard.

It spiked up over 100% usage. :thinking:

1 Like

The last time I had this bug on windows, intellisense was the culprit.

Try disabling autocomplete:

image

1 Like

Did not work.

Another interesting fact is how switching to another account and using the Studio there actually solved it. I don’t quite understand why there’s a major difference between a new account and a used account.


Update
A little tampering with the files did not solve it either. Reinstalling does not work. I can’t pinpoint the solution on my end. Perhaps this is internal or just a complicated issue.


Update 2
Looks like moving the script editor out of its original dock actually solved it. What?!

6 Likes

I have the same issue ever since I downloaded Mojave, when I had High Sierra there was no lag whatsoever. Hopefully Roblox roles out a patch soon.

I have the same issue, it really drives me crazy.
I got one solution, you can just hold your cursor on the script window, where is the name, etc. who is editing it and so.
And you hold and drag it away, I drag it to my second monitor, or you can drag in the studio, but make sure you don’t put it anywhere, otherwise it will still lag.

2 Likes

Still happening, as I’ve posted on 2 other posts. Stupidly laggy when clicking, editing and moving around in studio, not just in scripts now.

Still laggy ugh… i just wish this will be fixed it’s really an hinderance to my development

This problem has somewhat escalated, now extending into the issue of dragging the windows around in Studio and attempting to dock them. It takes an extra second to dock them.

I have been having a similar issue, however its on Windows 10 and the only issue is when writing scripts. I have had upto a 4 second delay when typing scripts regardless of how long they are.

Quick reply,

Next time this is happening could any of you report back what happens to your CPU usage? (Make sure autocomplete is on)

If it spikes while you are typing, we may know the cause of the issue.

The problem with this issue has always been its very difficult to repro in-house for some reason.

Reporting…

  • CPU usage while not focused on Studio: Less or around 20%
  • CPU usage while focused: Around 20-40%
  • CPU usage while focusing in script editor: Spiked up to 60% first, then around 20%
  • CPU usage while typing: Spikes beyond 100% in usage
  • CPU usage while moving the editor: Around 50-70%
  • CPU usage while typing in the editor docked elsewhere than the Studio viewport window: 50%
1 Like

The script editor is only laggy in the full-screen window if I dock it somewhere other than the default window and type there is no lag at all.

43%20PM

I’m going to have to bump this, I’m having the same problem on WINDOWS 10:
rD5uP7tyT9
You can tell when I move my mouse at the end that it’s not the framerate of the gif causing this, and the rest of Studio feels really laggy . What on earth?

6 Likes

Disable GSync or any VSync applied by your graphics card. NVidia should allow you to configure this per application.

5 Likes

Fixed it for me, thanks so much!

3 Likes

Are there any workarounds for mac?

There are three different script editor slowdown issues:

Issue #1 - GSync/VSync is enabled. Solution: disable GSync/VSync for Studio
Issue #2 - Some autocomplete bug. Solution: disable autocomplete in Studio settings
Issue #3 - You made some configuration change to your Mac that doesn’t play well with Studio. Solution: users who have reset their computer after encountering this says that fixed the issue. If you find out what setting you changed, please post it here, as engineers haven’t been able to reproduce this issue yet

(there was also Issue #4 with packages, but I think this was fixed)

4 Likes