Search Unity

  1. Megacity Metro Demo now available. Download now.
    Dismiss Notice
  2. Unity support for visionOS is now available. Learn more in our blog post.
    Dismiss Notice

Profiler (44ms) CPU 50%

Discussion in 'Unity Analytics' started by hummer_4x4, Nov 18, 2019.

  1. hummer_4x4

    hummer_4x4

    Joined:
    Feb 3, 2013
    Posts:
    25
    I Create empty scene,
    All graphics to low set.
    Build to win 32..

    Start = 10%~50% Cpu
    In Profiler in unity, PlayerLoop 2MS

    How fix ?
     
  2. JeffDUnity3D

    JeffDUnity3D

    Joined:
    May 2, 2017
    Posts:
    14,446
    Sorry, this doesn't sound like an Analytics issue, can you elaborate? You would likely want to change the logic in your loop, or find a specific API call that is taking up the time.
     
  3. hummer_4x4

    hummer_4x4

    Joined:
    Feb 3, 2013
    Posts:
    25
    I created an empty scene, on the stage there is only a camera that was created by default. Then I collect the project and run and in the Task Reader shows my application requires 30 ~ 50% CPU with an empty scene without scripts.

    I was wondering what the processor was loading. Went to Profiler and there writes that PlayerLoop occupies the most ms.

    In editor 30~50% CPU
    In Build Standalone 30~50% CPU
     
  4. hummer_4x4

    hummer_4x4

    Joined:
    Feb 3, 2013
    Posts:
    25
    This, 48ms

    upload_2019-11-18_19-27-4.png
     
  5. JeffDUnity3D

    JeffDUnity3D

    Joined:
    May 2, 2017
    Posts:
    14,446
    Yes, not an Analytics issue, so unfortunately I am unable to assist. You might want to post in the General forum
     
  6. hummer_4x4

    hummer_4x4

    Joined:
    Feb 3, 2013
    Posts:
    25
    JeffDUnity3D, Can you tell me in which section? Where they can help me.
     
  7. JeffDUnity3D

    JeffDUnity3D

    Joined:
    May 2, 2017
    Posts:
    14,446
    "Editor & General Support"