Unity - Annoying persistent Hold On
By Vilem Otte
unity, performance
Hold On
After 2020 releases of Unity, the annoyance of "Hold On" progress bar has grown a lot. It prevents doing any work and disrupts workflow inside the editor. One of the main problems is that any tiny change to the code base or assets tends to cause it (and sometimes, even just adding some assets into the scene). Some of the reports were stating even other actions (just selecting shaders, clicking on prefabs in UI, duplicating assets, etc.).
One of the fixes that can be applied is removing of ShaderCache.db, despite the bug supposedly being fixed after 2020.3 version - the file still tends to grow big and slow down/cause disruption to workflow. The file is located at ProjectName/Library/ShaderCache.db. Going further and removing whole ProjectName/Library directory is another option (and I've seen also people using scripts to regularly remove it), forcing Unity to rebuild that.
I can't state whether the same applies for new Unity 6, as I haven't worked extensively in that one yet.