Search Unity

Question Editor very slow. Saving scene with no changes takes over 1 min.

Discussion in 'Editor & General Support' started by Grant151, Jul 14, 2021.

  1. Grant151

    Grant151

    Joined:
    Sep 12, 2013
    Posts:
    65
    My project is over 20gb, and my editor is REALLY slow long ago. Any operations with AssetDatabase take 30-40 seconds, updating prefabs takes 30+ seconds, etc.

    But the most annoying part saving a scene. Sometimes its instant, but sometimes it takes over a minute (same scene, no changes in both cases). Every time I save its a lottery. Below is a screenshot from profiler after saving a scene when it took over a minute:



    What is OnDemandScheduler.StopAndWait responsible for? And why is it taking so long? Anyone experienced similar editor issues?
     

    Attached Files:

    PutridEx likes this.
  2. altepTest

    altepTest

    Joined:
    Jul 5, 2012
    Posts:
    1,115
  3. Grant151

    Grant151

    Joined:
    Sep 12, 2013
    Posts:
    65