Search Unity

  1. If you have experience with import & exporting custom (.unitypackage) packages, please help complete a survey (open until May 15, 2024).
    Dismiss Notice
  2. Unity 6 Preview is now available. To find out what's new, have a look at our Unity 6 Preview blog post.
    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:
    11,847
    Isn't that just the CPU usage of the editor itself?
     
  3. dgoyette

    dgoyette

    Joined:
    Jul 1, 2016
    Posts:
    4,201
    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,860
    Profile on a build outside the editor. Preferably on your target device. Profiling inside the editor will just give you junk.
     
    s140335 likes this.