Any update regarding "Increased script assembly reload time"?

Domain reload detailed timings can now be enabled in 2021.2.0a20 an 2021.1.11f1 (and we are busy backporting this to 2019.4 and 2020.3).

  • In 2021.2.x it can be enabled using the diagnostics switches in Editor Preferences
  • In 2021.1 (which does not have the diagnostic switches UI), you can enable it with the environment variable UNITY_DIAG_ENABLE_DOMAIN_RELOAD_TIMINGS.
    (e.g. in a Powershell console, you can run $env:UNITY_DIAG_ENABLE_DOMAIN_RELOAD_TIMINGS="1"; & 'C:\Program Files\Unity\Hub\Editor\2021.1.11f1\Editor\Unity.exe').

After that, in your editor logs (%LOCALAPPDATA%\Unity\Editor\Editor.log), you’ll see detailed timings on domain reload.

13 Likes