Hi,
I have a larger project that I am currently refactoring towards DOTS. It is going to take many iterations and because I now consider the iteration speed the biggest hinderance to my progress as well as my mental health I would like to improve them somehow.
I used AsmdefDebug from Find out what assemblies are being built and how long each takes. · GitHub to get some data:
Compilation Report: 29,52 seconds
1,45s CommonUnity.dll
compilation total: 1,45s
Assembly Reload Time: 28,0762579s
My project is split into about 40 assemblies with serviceable dependencies and compile times are fine. However assembly reload is just crazy. The worst is, that it is focus breaking. I don’t have much trouble waiting for 10s, but with three times that, I am often tempted to fill the time by doing something else and before I know it, ten minutes of productive time are gone and my mental context is in shambles.
So I continued with Editor Iteration Profiler and found this:
One of the hefty calls is InitializeAllComponentTypes under TypeDependencyCache. It dwarfs everything else, but BurstLoader is not too fast either.
I assume that this is not normal, so my question is, why would something like this be happening? What can I do, to fix this?
Any help is welcomed!




