29s to recompile a script - AssetDatabase.V2.ImportAndPostProcessOutOfDateAssets.ReloadAssemblies

Since we updated everything, our recompile times - which was slow before - is now way way slower. (29 seconds+).

It looks like most of the time is taken up by URP and PostProcessing, so maybe this is something I bring to those forums? But since I only just started noticing these long recompile times after updating everything to AssetDatabaseV2, I’m not sure what to make of it.

Here’s what our update looked like:

  • Updated a bunch of packages, manly Unity.Entities to the latest preview.

  • Updated Unity to 2019.3.0f1 and selected AssetDatabase V2

  • Deleted the library folder folder (which was required by the Entities update to get rid of a bug). It’s also worth pointing out that the complete re-import of all assets took really really long, don’t remember it taking this long before. It took like 2-3 seconds for each and every little .fbx file, is that normal? (Even .fbx less than 30kb takes several seconds to import)

  • 5232284--521933--asdasdasd3.gif*

I have the data dump of the profiler screenshot below, I can PM you a download link if it’s helpful.

4 Likes

Have a look at this thread: