Reload Script Assemblies taking exponentially longer after each recompile
Hi all, I'm in Unity 2020.2.1f1
Our team has noticed that each time the code recompiles: unity takes longer and longer to come out of it. The only thing we're able to do to alleviate it is to exit, and restart unity.
It gets stuck on "Reload Script Assemblies" and will get to over a minute before we finally break down and restart.
Does anyone know how to fix this?
One thing I've noticed, - not sure if relevant - is that the messaging for the hang might not be accurate.
We had installed the package - NuGetForUnity (https://github.com/GlitchEnzo/NuGetForUnity) And the pause was co$$anonymous$$g when NuGet was restoring packages - so we assumed that it was the NugetForUnity package - but once we removed it - the hang just appeared at the "Reload Script Assemblies" message...
Answer by jeremedia · Feb 08, 2021 at 09:23 AM
I'm also getting long "Reload Script Assemblies" when exiting play mode.
Answer by unifiedJed · Feb 05, 2021 at 05:32 PM
I'm struggling with the same issue on 2020.2.2
I'm curious, does your team use perforce as well?
Answer by nOograss · Apr 12 at 09:53 AM
Hi, A temporary fix is to go in visual studio and save any files (no changes required) It should retrigger Unity and the loading will go as expected.
if you get the loading when Unity first loads the project, do the same save action in VS then kill and restart Unity.
Your answer
