anyone know how to stop the compiling shaders until you open the project?

So I’m having this problem, where every time I open a project, it compiles around 6000 shaders every time, and I’m wondering if there is any way to stop it from compiling shaders until you open the project so it can compile shaders as you work. If anyone has anything that could help, i look forward to hearing it, thanks!

1 Like

Hi Zach,

On Demand Shader Compilation’ was added in 5.1. So I wonder if that will change anything for you.

If not, maybe there is a problem writing to your DDC. (Just speculating here) In ‘Editor Preferences’ you could try setting DDC file paths manually.

Welcome to the forums!

1 Like

also, where do i put the file path, and what is a ddc?
EDIT: put in the ddc path to project/DerivedDataCache, restarted and now its compiling 6000 shaders again, do you have any clue why this is happening?

i found this idk what means how you do this change ue5’s ini ???

2 Likes

Hi Drac,

You’ll find DefaultEngine.ini in your projects ‘Config’ folder

Then you can paste the setting anywhere in the file:

[SystemSettings]
r.ShaderCompiler.JobCacheDDC=1

1 Like