Search Unity

  1. Welcome to the Unity Forums! Please take the time to read our Code of Conduct to familiarize yourself with the forum rules and how to post constructively.
  2. Dismiss Notice

After updating Mac OS Big Sur, the editor runs at a very low frame rate

Discussion in 'macOS' started by oijzl, Jan 27, 2021.

  1. oijzl

    oijzl

    Joined:
    Apr 9, 2020
    Posts:
    4
    Before the Mac OS Big Sur was updated, the frame rate of the game in the editor environment was normal 60 frames, and after the update, it was only more than 20 frames. I changed several projects and tested them. The frame rate of the released mobile phone version was normal, the unity version was 2018.4.10f1, and the MAC system version was Mac OS big sur11.1. Has anyone ever encountered this problem? How to solve it?
     
  2. JoeStrout

    JoeStrout

    Joined:
    Jan 14, 2011
    Posts:
    9,842
    I haven't updated yet, but I'm curious: are you using the Metal editor, or non-metal?

    (I find the Metal editor to be very buggy, to the point of being unusable...)
     
  3. oijzl

    oijzl

    Joined:
    Apr 9, 2020
    Posts:
    4
    You are right. When I disable metal editor support, FPS will be normal. Thank you very much for your suggestion.
     
    JoeStrout likes this.
  4. nuevocharrua

    nuevocharrua

    Joined:
    Jul 1, 2017
    Posts:
    4
    Metal API validator?
     
  5. ina

    ina

    Joined:
    Nov 15, 2010
    Posts:
    1,058
    How do you disable metal editor support??
     
  6. VIC20

    VIC20

    Joined:
    Jan 19, 2008
    Posts:
    2,682
    I think this was only possible with older versions like 2018.

    Just updated to Big Sur. Mac mini i7 2018. Empty project runs at low FPS in editor when running 2020 and 2021. But at normal (like in Catalina) FPS in editor when running 2019.

    I think this is the kind of bug that is pretty obvious, no, actually even unmistakable, which makes this situation totally ridiculous, especially since I always wait until Apple forces me through the Xcode system requirements before I upgrade to a newer system so that I can work with a functional product. Therefore I find it really tiresome that I now have to deal with this silly problem with the Unity Editor.
     
  7. ssyuha

    ssyuha

    Joined:
    Oct 6, 2021
    Posts:
    9
    I have the same issue after upgrade my Mac to Big Sur. This issue also happened on Windows too, and someone found out how to fix it:


    On Mac the steps is the same: Go to Edit -> Project Settings -> Player -> Settings for PC, Mac & Linux Standalone -> Uncheck Auto Graphics APIs for Mac -> Add (plus icon) -> choose OpenGLCore and rearrange it above Metal

    After that restart the editor and everything smooth again
     
  8. RightfulYeti

    RightfulYeti

    Joined:
    Nov 22, 2017
    Posts:
    3
  9. RightfulYeti

    RightfulYeti

    Joined:
    Nov 22, 2017
    Posts:
    3
    Thanks ssyuha, this fixed it for me.
     
  10. Tanky

    Tanky

    Joined:
    Jun 19, 2015
    Posts:
    6
    I first encountered this problem when I upgraded from Unity 2021.1.21 to 2021.1.22. It was so bad I had to switch back.

    ssyuha - thanks, your solution corrected the problem for me too.

    But I don't want to shut off Metal forever. Is anyone at Unity aware of this problem? It seems like it's happening to a lot of MacOS users.

    I wonder if it's related to this bug fix.
     
    HofiOne likes this.
  11. Tautvydas-Zilys

    Tautvydas-Zilys

    Unity Technologies

    Joined:
    Jul 25, 2013
    Posts:
    10,505
  12. Tr1pl3Six

    Tr1pl3Six

    Joined:
    Dec 11, 2013
    Posts:
    3
    Thanks this fixed my issue
     
  13. mcleverson

    mcleverson

    Joined:
    Sep 7, 2019
    Posts:
    1
    It worked like a charm on my mac... Thx!
     
  14. bwgames

    bwgames

    Joined:
    Jan 26, 2016
    Posts:
    1
    Thx!!!!!
     
  15. Cato11

    Cato11

    Joined:
    Jan 5, 2021
    Posts:
    193
    I have tried this and it doesn't seem to work for me, gameplay in the editor is still very stuttery when both Scene and Game view are visible. As soon as I maximise to just Game view, everything is buttery smooth.

    Please do you have any other ideas how to improve this?

    I am running 2020.3.25f1 on a M1 Pro.
     
  16. HofiOne

    HofiOne

    Joined:
    Apr 19, 2021
    Posts:
    66
    Same issue here, still.
    Extremely annoying :S

    In the editor the game view
    • performs poorly if the Scene editor view is open at the same time (almost half of the FPS count if only the Game view is visible alone)
    • performs much, much better if i switch to opengl, (but as i have to test the standalone build too at the same time i do not want to switch always and always back and force between metal and opengl !!!)

    Unity 2021.1.28f1.3303 (cannot upgrade yet because of other serious URP bug in higher versions)
    macOS 11.6.2 (20G314)
    MacBook Pro (Retina, 15-inch, Late 2013)
    Graphics Cards
    Intel Iris Pro / NVIDIA GeForce GT 750M
     
  17. Shahdee

    Shahdee

    Joined:
    Jul 1, 2012
    Posts:
    8

    Thank you for providing this solution. It fixed my performance issue on mac.
     
  18. HofiOne

    HofiOne

    Joined:
    Apr 19, 2021
    Posts:
    66
    unfortunately, it could be just a temporary workaround as each time you need a standalone build you should switch between the 2 settings back and force and pay attention not to forget it before a release build :S
     
  19. ssyuha

    ssyuha

    Joined:
    Oct 6, 2021
    Posts:
    9
    Just downgraded to Unity 2019.4 and I'm able to fix this issue without switching to OpenGL Core by enable Automatic graphics switching in MacOS Settings. This option is enabled by default but I turned it off in attempt to fix another issue with Unity 2020 xD