UE4 "Compiling Shaders" is super slow

So I was having issues with 4.27 hanging up and stopping the shader compile after a few hundred (It would just compile a few and then just hang on that number). This was also causing a crash every time I tried to save something with the “Compiling Shaders ####” still on screen, even though the compiler was no longer running in the task manager.

I found this really helpful post that massively increased my shader compiles, hopefully it helps others as well. I don’t know what other versions this fix will work for, but it worked for 4.27 for me

The main post talks about talks about setting app priorities in the task manager, but this comment is about adjusting the priority of the shader compiler in the BaseEngine.ini file. Mine was set to -1, so I swapped it to 2, saved, and restarted my project. Not only did it fix my compiler hang up, but sped the initial shader compile up like a charm.

2 Likes