Search Unity

Resolved [Unity 2020.2.2f1] Inspector.Tick after scripts recompiling results in an extra spike for 30s

Discussion in 'Editor & General Support' started by xVergilx, Mar 4, 2021.

  1. xVergilx

    xVergilx

    Joined:
    Dec 22, 2014
    Posts:
    3,296
    I've encountered a very strange behaviour.
    So ReloadAssemblies can take about ~15s on its own, which is understandable, in a large project.

    However, after progress bar dialog is gone (but before editor unfreezes), there's another spike that sometimes take about 30s to complete. Which is Inspector.Tick.
    upload_2021-3-4_18-35-0.png

    I'm not even sure how to submit repro for this. But its kinda absurd.

    Cannot Deep Profile as well - don't have enough ram to wait for 45s straight with deep profile enabled, just running out of memory on 32GB machine.

    The only workaround I've managed to find is patience. However, it sucks :p
    Any suggestions?
     

    Attached Files:

  2. xVergilx

    xVergilx

    Joined:
    Dec 22, 2014
    Posts:
    3,296
    Seems like its somehow got fixed in 2020.2.7f1.