Can’t it simply cache them if nothing changed?
Bump
+1 on this one. Compiling shader variants takes up the longest time during the build of my game. It has to compile 4500 shader variants, another 200 and another 100 along with a few more if it feels like it, and before I upgraded to unity 2018.3, there were only ~400 to compile each build. This is starting to get ridiculous, since before in unity 5 shaders were cached and were generated when they were modified. Can a Unity dev please take a look at this?
Even non used shaders are compiled
I was having this issue, but I was able to solve it by deleting the Library folder.