[UE5] Compiling Shaders On Every Startup

yes, its work on 5.1.1 Thanks Man Love You

You are all saying thanks it works WITHOUT SAYING WHAT WORKED.

Can someone please just tell people the solution they used that works?

1 Like

This is what worked for me:

Delete Unreal Engine in Epic Launcher, restart computer, install Unreal Engine through Epic launcher with every platform option unticked (14GB Linux saved!) keep the starter template etc options unchanged, Start Unreal Engine in Epic Launcher, 5000+ Shaders compile, Close, restart computer, Launch Unreal Engine from Desktop shortcut everytime.

Now the engine startup is very fast (1 minute vs 25 minutes with shader compile), no shader compiles at startup.

I have no idea which part of that process actually fixed the problem and stopped the shader compile on startup loop, but it worked.

6 Likes

works on 5.1.1. Thanks a lot!

it works,thank you.

sorry but what works for you? you didnt write

In my case, Global Local DDC Path was a wrong path. Resetting to the right one fixed.

It was UE5.2 on Mac OSX 14 Sonoma.

In Epic launcher go to the Library and pick the down arrow menu to the right of the Launch button of the version you are running and create a new desktop shortcut. This overwrites the shortcut to the previous version. I did this without uninstalling or installing anything and it seems to be working.

Starting Unreal 5.3 with my project every time it had to compile 935 shaders.

My fix was to point the DDC shaders cache pathes in editor preferences to fixed folders, like this:

2 Likes

[[UE5.4] Compiling Shaders On Every Startup]

Had the same issue, 935 shaders. Your fix helped me. Now the project loads lighting fast. Thank you.

Just to see if this is a design error on the part of Epic I completely uninstalled everything, and did a fresh install of 5.4 and 5.5 then open Epic Games Launcher and opened 5.5, not a project, but just 5.5 and it compiled thousands of shaders before I even asked it to generate a new project. That means that it is a MAJOR DESIGN FLAW, worse yet it may be intentional and something they are never going to fix, so the Engine is just no good for large maps unless you are running a new rig that cost about 6k.