Search Unity

2018.4.8f1 editor high CPU usage macOS

Discussion in 'Editor & General Support' started by LoadingHome, Sep 5, 2019.

  1. LoadingHome

    LoadingHome

    Joined:
    Jan 8, 2015
    Posts:
    43
    When Unity editor is in the foreground, without pressing Play, only in editor mode, the CPU goes up to 30% usage.
    With what even increases more when you press Play in the editor for the game's own consumption.

    The problem can be easily reproduced, creating an empty project, and viewing the process list while unity editor is in the foreground.

    How can I fix this?
    Thanks
     
    Last edited: Sep 9, 2019
  2. karl_jones

    karl_jones

    Unity Technologies

    Joined:
    May 5, 2015
    Posts:
    8,281
    Does this happen in a new project or just a specific one?
    Try using the profiler in editor mode to see what could be using up the CPU.
     
  3. LoadingHome

    LoadingHome

    Joined:
    Jan 8, 2015
    Posts:
    43
    it happens in a new project.
    I used the profiler in editor mode, but the CPU usages goes to 230% and is difficult to know what is causing it.

    I see those peaks in the cpu continuously.
    Captura de pantalla 2019-09-05 a las 20.55.21.png
     
  4. LoadingHome

    LoadingHome

    Joined:
    Jan 8, 2015
    Posts:
    43
    Last edited: Sep 6, 2019
  5. LoadingHome

    LoadingHome

    Joined:
    Jan 8, 2015
    Posts:
    43
    @karl_jones any news about the bug? Thanks.
    I have already sent a bug report.
     
    Last edited: Sep 9, 2019
  6. karl_jones

    karl_jones

    Unity Technologies

    Joined:
    May 5, 2015
    Posts:
    8,281
    Not that I'm aware of. Do you have a bug number so I can check?
     
  7. LoadingHome

    LoadingHome

    Joined:
    Jan 8, 2015
    Posts:
    43
    I just reported it. Case number: 1183039
    Thanks.
     
    karl_jones likes this.
  8. TheJimz

    TheJimz

    Joined:
    Jun 26, 2015
    Posts:
    50
    Just to confirm seeing this also. When in foreground, unity usage jumps up to about 80% on my machine, while doing nothing in the editor.
     
  9. TheJimz

    TheJimz

    Joined:
    Jun 26, 2015
    Posts:
    50
    @karl_jones In my case I'm seeing heavy memory allocations every frame, with a large CPU tick on garbage collection.
    Screen Shot 2019-09-09 at 3.35.32 PM.png Screen Shot 2019-09-09 at 3.35.48 PM.png
     
  10. karl_jones

    karl_jones

    Unity Technologies

    Joined:
    May 5, 2015
    Posts:
    8,281
  11. TheJimz

    TheJimz

    Joined:
    Jun 26, 2015
    Posts:
    50
    Yes we've tracked it to google's PlayServicesResolver. So apologies unrelated to the issue herein, but still of note to others running google plugin (it's doing this even if in iOS mode)
     
    karl_jones likes this.