Typing in the script editor is extremely slow in macOS

This issue seriously needs to be fixed by Roblox. There are ways to manually fix the issue yourself (as @ElijahAppleUser said), but it would be great if Roblox were to just fix the issue themselves.

1 Like

So many developers have been struggling from this, why hasn’t roblox fixed this yet? Its been a problem for well over 2 years at the time of 2021. The only thing roblox has told us is to use Generic RGB Profile, when will we actually get a proper fix?

Thanks everyone who has posted information about the problems they’re experiencing. We are actively putting effort into improving the average Script Editor latency by putting more functionality into background threads.

But I believe some of you may be running into specific edge case issues. To help us diagnose these, there’s some additional information that would useful, in addition to the information about your OS and hardware:

  1. Take a spindump: On macOS, open the Activity Monitor, select RobloxStudio from the list of processes, click the gear icon, and select “Spindump”. Send us the text this outputs.
  2. How big is the rbxl file that you’re editing, and how big is the specific script that you’re editing.
6 Likes

Does it have nothing to do with more recent versions of macOS such as macOS Big Sur?

Hi developers! I wonder does anyone still see this lagging since today? If you still see this lagging, does switching to 3D tab first and then switch back script editor tab can solve this lagging issue in your local?

1 Like

This lagging is still occurring in the script editor and personally speaking with other developers on other platforms they also experience this issue as well.

1 Like

I am able to confirm that the script editor lag is being caused by high DPI/resolution displays. I tested this on 2 different 4K iMac’s and the script editor in Studio was completely unusable on both machines and the color profile trick made no difference at all.

A few weeks ago, I tested Studio on a friends 2017 iMac and the script editor was completely unusable. I had tried changing the color profile and that did not make a difference.

I was able to play around with Studio on my moms 2019 iMac in August/September 2020 and there was some very slight lag in the script editor in longer scripts but it was at least usable. Today, my mom let me use her computer again so I was able to test out Studio and now the script editor is completely unusable. Every other part of Studio is fine except for the script editor. Also changing the color profile didn’t work either.

I was editing a brand new script with the print("Hello world!") removed.

I ran spindump on the iMac like @Bausteinbuilder3 said to do. Here is the spindump log: Spindump_RobloxStudio_iMac19,2.txt (1.9 MB)

Both iMac’s have a 21.5 inch Retina display with a resolution of 4096x2304

Here are the specs of both machines:

My friends iMac:

Model: iMac 21.5-inch (Retina 4K, 21.5-inch, 2017)
CPU: Intel Core i5-7400 3 GHz quad core
GPU: AMD Radeon Pro 555, 2GB
RAM: 8GB
Storage: 1TB 5400RPM HDD
OS: macOS Catalina 10.15.7
Roblox Studio version tested: 459

My moms iMac:

Model: iMac (Retina 4K, 21.5-inch, 2019)
CPU: Intel Core i3-8100 3.6GHz quad core
GPU: AMD Radeon Pro 555X 2GB
RAM: 8GB
Storage: 1TB Fusion Drive (1TB 5400RPM HDD + 32GB SSD)
OS: macOS Big Sur 11.0.1
Roblox Studio version tested: 460

2 Likes

Just want to point out that there is apparently other software out there that has had the same problem, fixable with the same solution of changing the color profile, like this for instance. That blog has a pretty good description of the problem and why changing the color profile fixes it.

From that page:

the reason for the problem is the new wide gamut P3 displays.

These displays have a special colorspace that can handle many more colors. However, in many cases, this results in very poor performance for applications that have animated user interfaces, because the operating system automatically converts the graphics provided by the application to this color scheme, which is extremely CPU intensive.

That explains why MacBook Pros from 2016 onwards perform awfully in Roblox Studio. Why hasn’t Roblox gone ahead and optimized their software for P3 wide gamut displays? iPads and iPhones with P3 wide gamut displays don’t experience the same issues. I hate to have to change the color profile to something worse.

THe engineers are asking how frequent this issue is. So if you attempted to reproduce this bug 5 times in a row how many times does it occur?

I’ve found that when deleting the files roblox studio saves in /Library/Preferences, it’s good as new.

I’m having a similar issue; but, I’m using macOS Big Sur on the 2020 MacBook Pro. It occurs every time I use the script editor. In the meantime, I have resided to VSCode in the meantime.

Opening script editor has been lagging the whole studio lately for me.

For me, this issue occurs 100% of the time with the default color profile. Deleting files in ~/Library/Preferences and reinstalling Roblox had no effect.

Edit: for anyone using the Generic RGB Profile solution I recommend trying the sRGB profile instead, colors should look significantly better and the performance is the same.

1 Like

Thanks! I would recommend the same thing. I don’t know why Roblox hasn’t optimized their software for years to perform well with Macs that have P3 wide color gamut displays.

Mac OS Big Sur, Mac Mini M1 w/8gb ram, two 1440p displays. Script editor runs horrible unless detached from studio window (And even then it’s slow). MacBook Pro w/m1 processor and 512gb SSD runs fine w/script editor after changing RGB profile. Changed RGB profile on Mac Mini and no difference in performance.

After having this issue consistently for 2 weeks I found out switching my color profile from color lcd to generic rgb or multiple other profiles fixes the problem

I’m also having this issue. This happens to me every single time I open Roblox Studio and try typing in a script. Uninstalling Roblox and reinstalling made no difference. It’s been happening for quite some time now.

image

Whenever I try typing in the Roblox Studio script editor attached to the studio window it is very slow to type, almost as if it’s lagging. However, when the script window is detached from studio into its own window it seems to respond quicker to my typing with less lag.


This is my current colour display profile setting. When one of these two options is enabled as the colour display profile, typing in the script editor within the Roblox studio window reacts very slowly to my typing, making it “lag”

However,

When this sRGB colour display profile is enabled, it actually makes typing respond quicker within the default script editor in the Roblox studio window. However, I’d rather be using the default colour profile if possible and I don’t want to have to keep switching every time I need to write some code.

6 Likes

This is happening on my Mac too. I’m pretty sure it started when I first opened a shared game with team create, but I just figured it was slow because it was in team create. However, every other place I opened (including non-team create ones) has this slow typing bug now.

Right, it’s both. Deleting files and changing the color profile. For me, when just changing the profile, nothing happened. It only worked after i did both.