Search Unity

EditorLoop issue from Profiler. Help me please

Discussion in 'Editor & General Support' started by unityPashok, Mar 2, 2021.

  1. unityPashok

    unityPashok

    Joined:
    Sep 1, 2020
    Posts:
    7
    Hello everyone. I have a problem with EditorLoop from Profiler. In the play mode, there are some moments when EditorLoop take a huge memory usage and my FPS is lowering. In the average, EditorLoop take about like in the image below 3.34 ms
    upload_2021-3-2_8-33-56.png

    but some times it take about 54.88 ms
    upload_2021-3-2_8-34-51.png

    If there is somebody who can help me, I will be grateful.
     
    Last edited: Mar 2, 2021
  2. MartinTilo

    MartinTilo

    Unity Technologies

    Joined:
    Aug 16, 2017
    Posts:
    2,460
    Hello,
    When profiling Playmode, the Profiler tries to minimize the profiler overhead due to Playmode running inside the editor by not Recording any further detail outside of the PlayerLoop, lumping it all into EditorLoop. To find out the details of what is taking time in the EditorLoop, switch the Profiler from targeting Playmode to it targeting Editor. Also please see this Documentation page about common profiler markers where this and other profiler markers are explained in more detail.