Search Unity

  1. Welcome to the Unity Forums! Please take the time to read our Code of Conduct to familiarize yourself with the forum rules and how to post constructively.
  2. Dismiss Notice

Feedback (Case 1206572) Editor UI performance regression

Discussion in '2019.3 Beta' started by Peter77, Dec 19, 2019.

  1. Metron

    Metron

    Joined:
    Aug 24, 2009
    Posts:
    1,137
    And how would that speed up the editor?
     
  2. phil-Unity

    phil-Unity

    Unity UI Lead Developer Unity Technologies

    Joined:
    Nov 23, 2012
    Posts:
    1,226
    Speeds up your code so each frame can render faster as the game code is on the same thread as the editor code.
     
  3. Peter77

    Peter77

    QA Jesus

    Joined:
    Jun 12, 2013
    Posts:
    6,438
    Yes. 2020 is snappier than 2019 in Release and Debug mode. However, it still is not snappier or equally snappy than 2017 let alone 4.6, which is the fastest editor for me. That is with optimizations such as "Interaction Mode Throttling" in place, which didn't even exist in earlier editor versions.

    2020 is one step in the right direction, but there are more steps involved before the performance of 4.6/2017 is reached.

    You only need to resize a window in 2017 and 2020 and you immediately feel the difference. If you don't, select the Light or Camera GameObject and resize the Inspector window. It's very obvious that 2020 has a bigger delay than 2017, at least on my PC.

    Here is a 2020.1 Debug vs Release comparison from my PC.
    • EditorLoop in Debug mode = ~55ms
    • EditorLoop in Release mode = ~45ms
    However, using Release comes with a different price. You can't use the Debugger anymore. This isn't a problem for artists, but as a programmer, you most likely want to have debug mode enabled always. Which means you don't benefit from this performance improvement. I gave an example why I want this option to be enabled always here.

     
    phil-Unity and jamespaterson like this.
  4. jamespaterson

    jamespaterson

    Joined:
    Jun 19, 2018
    Posts:
    390
    Hi Peter. Do you have any thoughts on the compile time for your project between debug and release code optimisation in 2020.1 please? Release presumably will execute faster but it may or may not be faster to compile which is where change iteration time comes from?
     
  5. Peter77

    Peter77

    QA Jesus

    Joined:
    Jun 12, 2013
    Posts:
    6,438
    The Editor Release / Debug Mode does not seem to affect compile time, I at least can't see a difference.
     
    jamespaterson likes this.
  6. jamespaterson

    jamespaterson

    Joined:
    Jun 19, 2018
    Posts:
    390
    Thanks!
     
    Peter77 likes this.
  7. Ara27

    Ara27

    Joined:
    Jan 12, 2016
    Posts:
    4
    Hi guys, just to add some feedback from an ongoing project.

    I've just upgraded from version 2019.1 to 2019.3 and the feedback from the editor is just horrible, it is like ten simes slower when compiling script changes os entering play mode.

    Without any other changes than the version upgrade entering play mode has gone from 5-6 seconds to nearly a minute, also compiling scripts has slowed down greatly, being four or five times slower.

    I highly doubt it is because of the profiler because I've tried to disable recording and changing the record modes but still having those horrible hanging times...

    As a developer I've to say that the version 2019.3 is not really viable for any serious game as the waiting becomes such a nuisance.
     
  8. marck_ozz

    marck_ozz

    Joined:
    Nov 30, 2018
    Posts:
    107
    I have the exact same problem after upgrade from 2019.2.2 to 2019.4.9(LTS). I filed a Bug report (CASE 1276540) because Unity crashed every time I modified any script and they recomment to upgrade my GPU driver wich help a little for the crash but not for the performance issue.

    I let you here a video comparing the performance of my demo game in 2019.2.2 vs 2019.4.9