Search Unity

Bug Editor frame drops on Mac OS (GC.MarkDependencies)

Discussion in 'Editor & General Support' started by TeamHoray, Dec 22, 2022.

  1. TeamHoray

    TeamHoray

    Joined:
    Dec 21, 2015
    Posts:
    7
    Hello.
    My project has been experiencing frame drops for a long tine on Mac OS.

    Details:

    First, I just open the project, everything works fine.
    When I enter play mode, play the game and exit, the editor frame drop starts.

    This is my profiler, (Edit Mode)


    And this is my profile hierarchy when everything is running fine. (over 60fps)


    Last, this is the hierarchy when having frame drop.


    I think GC.MarkDependencies is the bottleneck.
    When the Application.Tick ~ GC.MarkDependentics starts, The engine lags and the processor heats up.

    I've tried various things to fix this but couldn't change anything.
    (Change Interaction Mode, remove render features, remove external assets, etc.)

    I submitted a bug report a month ago, but have not received any response.

    In windows, these frame drops do not occur.
    It only seems to be happened on Mac OS (Test M1, M2 Macbooks)

    Has anyone experienced an issue like this?
     
  2. vectorized-runner

    vectorized-runner

    Joined:
    Jan 22, 2018
    Posts:
    398
    Last edited: Dec 27, 2022