Search Unity

  1. Unity Asset Manager is now available in public beta. Try it out now and join the conversation here in the forums.
    Dismiss Notice

High CPU & GPU utilization in inspector tab

Discussion in '2020.2 Beta' started by Ulnari, Nov 19, 2020.

  1. Ulnari

    Ulnari

    Joined:
    Feb 9, 2014
    Posts:
    15
    When I click on any non-gameobject item in the project view (e.g. script file, asmdef, ...) to see it inside the Inspector tab, CPU & GPU utilization is very high. On my machine (Laptop with i7-4710HQ, NVidia GTX 860M), load is at 30% (CPU) and 50% (GPU) from basically idle. It returns to idle when I deselect the item (empty Inspector view).
    [2020.2.0b11]
     
    Last edited: Nov 19, 2020
  2. langtusaupt

    langtusaupt

    Joined:
    Mar 15, 2017
    Posts:
    10
    I also got the same error in 2020.2.0b11 and 2020.2.0b12
     
  3. LeonhardP

    LeonhardP

    Unity Technologies

    Joined:
    Jul 4, 2016
    Posts:
    3,135
    Hi,

    Could you please submit a bug report for this issue with reproduction steps attached? Does it happen in a new project as well?
     
  4. langtusaupt

    langtusaupt

    Joined:
    Mar 15, 2017
    Posts:
    10
    I submitted a bug report on 11/16 Case 1292911
    Content:
    Unity 2020.2.0.b11 Editor high CPU when select Project tab

    1- Create new project in Unity 2020.2.0.b11
    2- if select object in Hierarchy:Main Camera,Directional Light.
    -Check CPU performance 1-10%
    -Check Profiler Editor: Hight: GUIView.RepaintAll.RepaintScene:0%
    3- if select object in Project tab:Scenes folder,
    -Check CPU performance 100%
    -Check Profiler Editor: Hight: GUIView.RepaintAll.RepaintScene:80%
     
    LeonhardP and MartinTilo like this.
  5. Ulnari

    Ulnari

    Joined:
    Feb 9, 2014
    Posts:
    15
    Steps to reproduce:
    - Create new project
    - Select "Scenes" Folder in the Project Tab (not in the Directory tree view, but the Scenes icon in the Assets directory)

    Initially GPU jumps to around 50%, then goes down to 25-30%, CPU goes up to 25%+ within 1-2s and stays there.

    Seems like the commenter above has already submitted the same bug, so I don't add a duplicate.
     
    Last edited: Nov 21, 2020
  6. Ulnari

    Ulnari

    Joined:
    Feb 9, 2014
    Posts:
    15
    Screenshots

    2020-11-21 16_01_30-Task Manager.png Unity_high_cpu.png
     
  7. Hyp-X

    Hyp-X

    Joined:
    Jun 24, 2015
    Posts:
    438
    I saw noticeably lower framerates when an asset is selected.
    It also affects the Properties window.
    I assume this is the cause of the performance issue -- good find.
     
  8. LeonhardP

    LeonhardP

    Unity Technologies

    Joined:
    Jul 4, 2016
    Posts:
    3,135
    mahdi_jeddi, Peter77 and langtusaupt like this.