Search Unity

Big hitches in editor profiling

Discussion in 'Editor & General Support' started by wwweh, Feb 21, 2019.

  1. wwweh

    wwweh

    Joined:
    Oct 15, 2012
    Posts:
    18
    Hi! I've got a project on latest 2018.3 and when profiling I get these huge blips in CPU

    Capture.PNG

    Anyone have any ideas?
     
  2. alexeyzakharov

    alexeyzakharov

    Joined:
    Jul 2, 2014
    Posts:
    508
    Profiler Window spends a lot of time rendering itself.
    Try to close all areas you are not currently interested in - e.g. UI, Networking, Audio.
     
  3. MartinTilo

    MartinTilo

    Unity Technologies

    Joined:
    Aug 16, 2017
    Posts:
    2,461
    Also, it is always recommended to profile a built player, ideally on your target platform. Profiling the player in playmode in the Editor should not be done to find performance issues. The data will be skewered, e.g. through rendering the Editor and the ProfilerWindow. Profiling in the editor can be useful to drill deeper and quickly iterate on potential solutions. Validation however should always be done through profiling on device again.
     
    Peter77 likes this.
  4. wwweh

    wwweh

    Joined:
    Oct 15, 2012
    Posts:
    18
    I'll try it out, thanks guys!