Search Unity

  1. Unity 2019.2 is now released.
    Dismiss Notice

Problem EditorLoop 97%

Discussion in 'Scripting' started by Fekzh21, Mar 7, 2019.

  1. Fekzh21

    Fekzh21

    Joined:
    Dec 29, 2018
    Posts:
    18
  2. Joe-Censored

    Joe-Censored

    Joined:
    Mar 26, 2013
    Posts:
    6,737
    Isn't that just the CPU usage of the editor itself?
     
  3. dgoyette

    dgoyette

    Joined:
    Jul 1, 2016
    Posts:
    2,061
    Profiling within the Editor might give you some insight into how expensive some of your code is compared to some of your other code, but it's pretty unreliable in terms of the overall performance of your application. As Joe said, that's just how much time the Unity Editor is using up.

    If you want to properly profile your application, you'll need to create a build of your application, and attach the profiler to the built version.
     
  4. Kiwasi

    Kiwasi

    Joined:
    Dec 5, 2013
    Posts:
    16,533
    Profile on a build outside the editor. Preferably on your target device. Profiling inside the editor will just give you junk.