Search Unity

  1. Unity support for visionOS is now available. Learn more in our blog post.
    Dismiss Notice

Bug Apple Silicon (M2) Crash on Minimizing

Discussion in 'macOS' started by TheRobWatling, Sep 8, 2023.

  1. TheRobWatling

    TheRobWatling

    Joined:
    Feb 18, 2013
    Posts:
    40
    Hi,

    I've tried searching but I've found nothing on this topic.

    I'm currently using 2022.3.7f1 (I've tried plenty of other versions) and when I minimize Unity it locks up MacOS, the window starts the minimizing animation and gets stuck halfway and then the entire OS locks up. I have to wait 30 seconds or so for MacOS to return to the login screen having closed every application.

    This is incredibly frustrating. I've reinstalled MacOS and the problem is still persistent.

    Any support would be greatly appreciated.

    Thanks,
    Rob.
     
  2. Unifikation

    Unifikation

    Joined:
    Jan 4, 2023
    Posts:
    1,073
    This isn't your MacOS. It's Unity.
    There's a LOT of problems with the Silicon Unity Editors.

    Rolling over some drop downs can crash it. Opening the Preferences panel can crash it.

    Being in Play mode for more than a minute can crash it.

    There's glitches that are truly incredible during gameplay.

    One trick I've found that's somewhat helpful: Download the current alpha (2023.2.xx) and install it fully.

    Get rid of The Hub. Completely.

    Create a 3D project with a few things in it that you only ever open in the alpha Unity editor.

    Save it and close all Unity instances open.

    Now alt + Click your 22.LTS working Unity, and open the project you're wanting to work on.

    Before you begin working, alt+ click on the 23.alpha version of Unity and open the little 3D project you've created in it.

    Switch back to 22.LTS Unity and begin working. Believe it or not, this makes Unity more stable. I presume this is because of some kind of paging and/or caching flushing of the GPU that the two instances of the Editor have that are different, such that there's more flushing going on.

    This is the only way I've found of getting a stable 120fps frame rate on an m2 MacBook Pro when in Play Mode, and gets rid of a lot of the weird glitches.

    Sometimes having Blender open performs this same facility, but that's not as reliable as using the Unity alpha editions of the editors. Another app that sometimes provides this benefit it Affinity Designer.
     
    WhatRU likes this.
  3. GerardInc

    GerardInc

    Joined:
    Jan 25, 2017
    Posts:
    19
    Same issue with unity 2022.3.5 on M2 pro. The whole mac just freezes.
     
    TheRobWatling likes this.
  4. unity_4uEag1Eqv6nu9Q

    unity_4uEag1Eqv6nu9Q

    Joined:
    Jan 4, 2019
    Posts:
    1
    Same issue with unity 2022, 2023 all 3 lasts versions
     
  5. dashmoon

    dashmoon

    Joined:
    Aug 22, 2018
    Posts:
    2
    Also experiencing this on every minimize.
    Unity 2021.3.21f, Mac OS Ventura 13.6

    I have 2 monitors, so I guess it saves me - when I move my cursor to another monitor, sometimes Unity is unstuck, and minimized okay.
     
  6. dogancoruh_unity

    dogancoruh_unity

    Joined:
    Apr 4, 2020
    Posts:
    1
    Same issue with Unity 2022.3.12f1 on MacBook M2 Pro
     
  7. bork08

    bork08

    Joined:
    Jul 27, 2023
    Posts:
    1
    same issue Unity 2022.3.14f1 in Macbook M3 pro
     
  8. this-Array

    this-Array

    Joined:
    Jun 11, 2013
    Posts:
    9
    Same issue m3 max 2022.3.15f1. There is no issue raised for this on the tracker.
     
  9. GerardInc

    GerardInc

    Joined:
    Jan 25, 2017
    Posts:
    19
    Also freezes with the latest 2023.2.3 - I've filed a bug report - though I think it needs to be approved before it appears on the issue tracker.
     
  10. this-Array

    this-Array

    Joined:
    Jun 11, 2013
    Posts:
    9
    Stupid fix but I changed my dock settings to stop minimizing applications into their icons and I haven't had a crash since.
     
  11. thecybergrape

    thecybergrape

    Joined:
    May 9, 2020
    Posts:
    2
    same issue, m3 max, 2021.3.1f1
    also fixed by turning off minimize applications into their icons. definitely a pain

    edit: try changing from scale effect to the genie effect. seems to have worked for me. ill update again if it stops working
     
    Last edited: Jan 26, 2024
  12. GerardInc

    GerardInc

    Joined:
    Jan 25, 2017
    Posts:
    19
    Genius find. Switching to "genie effect" indeed prevents unity from crashing the whole mac. It's the lesser of two evils.