Script Editor Freezing Studio in Team Create

Yep, that solves it!

Do you think you might have a fix for that in regular mode? Because it’s quite hard to navigate all the scripts (I have about 50 at this point).

— UPDATE —

Please ignore this post, see my new post below.

We’re investigating a general fix. In the mean time, this workaround functioning strongly indicates that V-Sync is causing the problem. Disabling that function for Studio should allow you to use the editor normally (the method is, unfortunately, manufacturer specific - consult your GPU troubleshooting manual).

2 Likes

Ok, I’ve had a pretty deep look into how to disable Vsync on Mac OSX Catalina

  1. Apple calls it BeamSync (not Vsync)
  2. On older Macs you used to be able to disable BeamSync via a tool called QuartzDebug but versions that do that do not work on later mac OS
  3. The closest thing I could find was a post that showed how to disable it on on tiger OSX using this command: defaults read /Library/Preferences/com.apple.windowserver Compositor -dict deferredUpdates 0
  4. I did not run that command because it’s the kind of thing that could brick your display :wink:
  5. I was able to have a look into that file and there is no mention of BeamSync or deferredUpdates so I imagine it is not connected to that pref location any more. Here is a dump of com.apple.windowserve:
{
    DisplayAnyUserSets =     (
                (
                        {
                Active = 1;
                Depth = 4;
                DisplayID = 69734662;
                DisplayProductID = 41028;
                DisplaySerialNumber = 0;
                DisplayVendorID = 1552;
                ForceDeepMode = 0;
                Height = 960;
                IODisplayLocation = "IOService:/AppleACPIPlatformExpert/PCI0@0/AppleACPIPCI/PEG0@1/IOPP/EGP0@0/IOPP/EGP1@0/IOPP/GFX0@0/AMDRadeonX6000_AmdRadeonControllerNavi14/ATY,Boa@0";
                IOFlags = 33554435;
                LimitsHeight = 1920;
                LimitsOriginX = 0;
                LimitsOriginY = 0;
                LimitsWidth = 3072;
                MirrorID = 0;
                Mirrored = 0;
                Mode =                 {
                    BitsPerPixel = 32;
                    BitsPerSample = 8;
                    DepthFormat = 4;
                    Height = 960;
                    IODisplayModeID = "-2147483644";
                    IOFlags = 33554435;
                    Mode = 8;
                    PixelEncoding = "--------RRRRRRRRGGGGGGGGBBBBBBBB";
                    RefreshRate = "59.99966430664062";
                    SamplesPerPixel = 3;
                    UsableForDesktopGUI = 1;
                    Width = 1536;
                    kCGDisplayBytesPerRow = 12288;
                    kCGDisplayHorizontalResolution = 226;
                    kCGDisplayModeIsInterlaced = 0;
                    kCGDisplayModeIsSafeForHardware = 1;
                    kCGDisplayModeIsStretched = 0;
                    kCGDisplayModeIsTelevisionOutput = 0;
                    kCGDisplayModeIsUnavailable = 0;
                    kCGDisplayModeSuitableForUI = 1;
                    kCGDisplayPixelsHigh = 1920;
                    kCGDisplayPixelsWide = 3072;
                    kCGDisplayResolution = 2;
                    kCGDisplayVerticalResolution = 227;
                };
                OriginX = 0;
                OriginY = 0;
                PixelEncoding = "--------RRRRRRRRGGGGGGGGBBBBBBBB";
                "RefreshRate16.16" = 3932138;
                Resolution = 2;
                Unit = 6;
                UnmirroredHeight = 960;
                UnmirroredLimitsHeight = 1920;
                UnmirroredLimitsOriginX = 0;
                UnmirroredLimitsOriginY = 0;
                UnmirroredLimitsWidth = 3072;
                UnmirroredMode =                 {
                    BitsPerPixel = 32;
                    BitsPerSample = 8;
                    DepthFormat = 4;
                    Height = 960;
                    IODisplayModeID = "-2147483644";
                    IOFlags = 33554435;
                    Mode = 8;
                    PixelEncoding = "--------RRRRRRRRGGGGGGGGBBBBBBBB";
                    RefreshRate = "59.99966430664062";
                    SamplesPerPixel = 3;
                    UsableForDesktopGUI = 1;
                    Width = 1536;
                    kCGDisplayBytesPerRow = 12288;
                    kCGDisplayHorizontalResolution = 226;
                    kCGDisplayModeIsInterlaced = 0;
                    kCGDisplayModeIsSafeForHardware = 1;
                    kCGDisplayModeIsStretched = 0;
                    kCGDisplayModeIsTelevisionOutput = 0;
                    kCGDisplayModeIsUnavailable = 0;
                    kCGDisplayModeSuitableForUI = 1;
                    kCGDisplayPixelsHigh = 1920;
                    kCGDisplayPixelsWide = 3072;
                    kCGDisplayResolution = 2;
                    kCGDisplayVerticalResolution = 227;
                };
                UnmirroredOriginX = 0;
                UnmirroredOriginY = 0;
                UnmirroredResolution = 2;
                UnmirroredWidth = 1536;
                Width = 1536;
            }
        ),
                (
                        {
                Active = 1;
                Depth = 4;
                DisplayID = 69734662;
                DisplayProductID = 41028;
                DisplaySerialNumber = 0;
                DisplayVendorID = 1552;
                ForceDeepMode = 0;
                Height = 1120;
                IODisplayLocation = "IOService:/AppleACPIPlatformExpert/PCI0@0/AppleACPIPCI/PEG0@1/IOPP/EGP0@0/IOPP/EGP1@0/IOPP/GFX0@0/AMDRadeonX6000_AmdRadeonControllerNavi14/ATY,Boa@0";
                IOFlags = 7;
                LimitsHeight = 2240;
                LimitsOriginX = 0;
                LimitsOriginY = 0;
                LimitsWidth = 3584;
                MirrorID = 0;
                Mirrored = 0;
                Mode =                 {
                    BitsPerPixel = 32;
                    BitsPerSample = 8;
                    DepthFormat = 4;
                    Height = 1120;
                    IODisplayModeID = "-2147479449";
                    IOFlags = 7;
                    Mode = 150;
                    PixelEncoding = "--------RRRRRRRRGGGGGGGGBBBBBBBB";
                    RefreshRate = "59.99966430664062";
                    SamplesPerPixel = 3;
                    UsableForDesktopGUI = 1;
                    Width = 1792;
                    kCGDisplayBytesPerRow = 14336;
                    kCGDisplayHorizontalResolution = 264;
                    kCGDisplayModeIsInterlaced = 0;
                    kCGDisplayModeIsSafeForHardware = 1;
                    kCGDisplayModeIsStretched = 0;
                    kCGDisplayModeIsTelevisionOutput = 0;
                    kCGDisplayModeIsUnavailable = 0;
                    kCGDisplayModeSuitableForUI = 1;
                    kCGDisplayPixelsHigh = 2240;
                    kCGDisplayPixelsWide = 3584;
                    kCGDisplayResolution = 2;
                    kCGDisplayVerticalResolution = 265;
                };
                OriginX = 0;
                OriginY = 0;
                PixelEncoding = "--------RRRRRRRRGGGGGGGGBBBBBBBB";
                "RefreshRate16.16" = 3932138;
                Resolution = 2;
                Unit = 6;
                UnmirroredHeight = 1120;
                UnmirroredLimitsHeight = 2240;
                UnmirroredLimitsOriginX = 0;
                UnmirroredLimitsOriginY = 0;
                UnmirroredLimitsWidth = 3584;
                UnmirroredMode =                 {
                    BitsPerPixel = 32;
                    BitsPerSample = 8;
                    DepthFormat = 4;
                    Height = 1120;
                    IODisplayModeID = "-2147479449";
                    IOFlags = 7;
                    Mode = 150;
                    PixelEncoding = "--------RRRRRRRRGGGGGGGGBBBBBBBB";
                    RefreshRate = "59.99966430664062";
                    SamplesPerPixel = 3;
                    UsableForDesktopGUI = 1;
                    Width = 1792;
                    kCGDisplayBytesPerRow = 14336;
                    kCGDisplayHorizontalResolution = 264;
                    kCGDisplayModeIsInterlaced = 0;
                    kCGDisplayModeIsSafeForHardware = 1;
                    kCGDisplayModeIsStretched = 0;
                    kCGDisplayModeIsTelevisionOutput = 0;
                    kCGDisplayModeIsUnavailable = 0;
                    kCGDisplayModeSuitableForUI = 1;
                    kCGDisplayPixelsHigh = 2240;
                    kCGDisplayPixelsWide = 3584;
                    kCGDisplayResolution = 2;
                    kCGDisplayVerticalResolution = 265;
                };
                UnmirroredOriginX = 0;
                UnmirroredOriginY = 0;
                UnmirroredResolution = 2;
                UnmirroredWidth = 1792;
                Width = 1792;
            }
        )
    );
}
  1. At this point it’s looking a lot like it’s not possible to disable Vsync (BeamSync) on modern macs. If you try to search for “disable BeamSync osx 2020” or “disable BeamSync osx catalina” it’s essentially like google whacking.

  2. This is most likely something introduced by a new studio release because last week this was all working fine on the same machine on my end.

— UPDATE —

Ok, so the pop out idea is not going to work because studio auto snaps it back in to place. Here is a screen cast of me trying to work that way.

It might be worth asking your devs to watch this all the way through so they can get a sense of how different aspects of studio are broken on catalina mac osx.

Also note how when I click the “Play” button at the end it takes 30 seconds to even start the game.

I was hoping to launch my game next week but I don’t think I’ll be able to now as it is impossible to get any work done at this point!

Hope you guys can work it out :slight_smile:

1 Like

Hello I can confirm that pulling out a script from the main editor into its own window solves the problem. Still it is not ideal as I cannot do that constantly for every script and it will automatically snap back into the main editor if you center it in the middle of the screen. Hopefully a fix can come soon!

I tried disabling G sync, setting it to fullscreen too but no avail.

I just got a new pc yesterday. Specs:
i7 10700
RTX 2060 Super 8 GB
16 GB RAM
1TB SSD and 1TB HDD
2 monitors (both 144Hz)
It still LAGS WAY TOO MUCH to be able to code. But popping out the script editor fixes the thing, but its very hard to navigate around that way. Close all windows (explorer, properties and whatever) and that will fix it without needing it to pop out, but then its very hard to make stuff with a lot of constraints.
Edit: The only 2 windows that cause this lag are the Toolbox and Asset Manager. Lag also affects camera terribly.

The fix for me is closing Toolbox and Asset Manager as well. Very odd but its better than having to pop out the script editor every single time.

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.