Search Unity

Bug Mac Builds freeze and are practically unplayable

Discussion in 'macOS' started by SuperSparkplug, Jan 11, 2023.

  1. SuperSparkplug

    SuperSparkplug

    Joined:
    Jul 6, 2012
    Posts:
    25
    Hi there,

    For a while now, I've had issues with building my game for Mac and I have no idea why. Running and creating Windows builds is fine. However, when running a Mac Build, it is laggy, freezes, makes my Mac hyperventilate and is basically unplayable; it moves like a slide show and the entire game is frozen within the first minute of gameplay.

    Even when testing in the Unity Editor in Playmode on Mac it runs fine for about 30 seconds before the performance just begins to quickly tank into a laggy unplayable mess. This doesn't happen at all on Windows. The game should definitely not be using this much resources, it's not even that graphically intensive by design. This is not isolated to my Mac either as my testers with Macs have reported it to be unplayable on their machines too. This is very confusing as the game is designed not to be very visually or processor intensive and we've even capped the framerate at 30.

    I've been looking into this and fiddling with so many settings with only marginal improvements. Can anyone help me figure out why this is happening and what I can do about it in the settings. I would like my game to be also Mac accessible if possible.

    Unity Ver: 2020.3.27 LTS

    Mac OS Ver 12.5.1 Monterey

    Processor: 2.4 GHz 8-Core Intel Core i9,

    RAM:32 GB

    Graphics: AMD Radeon Pro 5500M 8 GB, Intel UHD Graphics 630 1536 MB
     
  2. Sobewankanobe

    Sobewankanobe

    Joined:
    Nov 29, 2022
    Posts:
    16
    I am having the same problem on Mac. Editor runs amazing at 60fps for the first 30 seconds or so and then begins to sputter and take hits down to 30fps. The profiler says its Semaphore.WaitForSignal using up 70% of my CPU. When I build the game and try to play its much worse, probably around 5fps.
     
  3. Ozer_Jigme

    Ozer_Jigme

    Joined:
    Nov 2, 2016
    Posts:
    12
    Same here. 2020.3.13f1, working with a M1 Pro.

    Game runs seamlessly in the editor and on M1 machines. However, on a 2019 Macbook Pro (Intel Iris Plus Graphics 2,4Ghz i5) it's about 5fps.
     
  4. xtytyx

    xtytyx

    Joined:
    Dec 29, 2017
    Posts:
    24
    im having a similar issue, 2023.1.5f
    It gets random freezes that just dont resolve. it will remain frozen until you force quit the app. this seems to be new ish. as it wasnt happening in 2021

    as for performance:
    whenever vsync is changed or resolution, performance tanks by more than 50% from 90 fps to as low as 30 or if i maximize the window.
    This has been happening since 2019 specifically the performance stuff.