# \[UE5\] Compiling Shaders On Every Startup

**URL:** <https://forums.unrealengine.com/t/ue5-compiling-shaders-on-every-startup/520971>\
**Category:** Debugging, Optimization, & Profiling\
**Tags:** unreal-engine, Performance\
**Created:** [April 8, 2022, 10:09pm UTC](https://forums.unrealengine.com/t/ue5-compiling-shaders-on-every-startup/520971 "2022-04-08T22:09:25Z")\
**Posts on this page:** 18\
**Page:** 2

<div class="post-metadata">

**Author:** ![AsianGAmerz](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@AsianGAmerz](https://forums.unrealengine.com/u/AsianGAmerz)\
**Post date:** [March 7, 2023, 5:28pm UTC](https://forums.unrealengine.com/t/ue5-compiling-shaders-on-every-startup/520971/22 "2023-03-07T17:28:52Z")

</div>

yes, its work on 5.1.1 Thanks Man Love You

---

<div class="post-metadata">

**Author:** ![shak](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@shak](https://forums.unrealengine.com/u/shak)\
**Post date:** [March 14, 2023, 3:00pm UTC](https://forums.unrealengine.com/t/ue5-compiling-shaders-on-every-startup/520971/23 "2023-03-14T15:00:20Z")

</div>

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

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

---

<div class="post-metadata">

**Author:** ![shak](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@shak](https://forums.unrealengine.com/u/shak)\
**Post date:** [March 15, 2023, 10:42am UTC](https://forums.unrealengine.com/t/ue5-compiling-shaders-on-every-startup/520971/24 "2023-03-15T10:42:15Z")

</div>

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.

---

<div class="post-metadata">

**Author:** ![DesART](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@DesART](https://forums.unrealengine.com/u/DesART)\
**Post date:** [May 17, 2023, 2:09pm UTC](https://forums.unrealengine.com/t/ue5-compiling-shaders-on-every-startup/520971/26 "2023-05-17T14:09:52Z")

</div>

works on 5.1.1. Thanks a lot!

---

<div class="post-metadata">

**Author:** ![t58064255](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@t58064255](https://forums.unrealengine.com/u/t58064255)\
**Post date:** [September 27, 2023, 9:19am UTC](https://forums.unrealengine.com/t/ue5-compiling-shaders-on-every-startup/520971/27 "2023-09-27T09:19:50Z")

</div>

it works,thank you.

---

<div class="post-metadata">

**Author:** ![martinhanus](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@martinhanus](https://forums.unrealengine.com/u/martinhanus)\
**Post date:** [October 6, 2023, 8:30am UTC](https://forums.unrealengine.com/t/ue5-compiling-shaders-on-every-startup/520971/28 "2023-10-06T08:30:48Z")

</div>

sorry but what works for you? you didnt write

---

<div class="post-metadata">

**Author:** ![SeonghyeonChoe](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@SeonghyeonChoe](https://forums.unrealengine.com/u/SeonghyeonChoe)\
**Post date:** [October 7, 2023, 11:15pm UTC](https://forums.unrealengine.com/t/ue5-compiling-shaders-on-every-startup/520971/29 "2023-10-07T23:15:48Z")

</div>

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

 ![image](https://d3kjluh73b9h9o.cloudfront.net/original/4X/0/f/1/0f155662248e196536f821da4e641d80c4429d6b.jpeg)

It was UE5.2 on Mac OSX 14 Sonoma.

---

<div class="post-metadata">

**Author:** ![namreg1010](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@namreg1010](https://forums.unrealengine.com/u/namreg1010)\
**Post date:** [November 6, 2023, 5:09pm UTC](https://forums.unrealengine.com/t/ue5-compiling-shaders-on-every-startup/520971/30 "2023-11-06T17:09:23Z")

</div>

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.

---

<div class="post-metadata">

**Author:** ![zeit-feld](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@zeit-feld](https://forums.unrealengine.com/u/zeit-feld)\
**Post date:** [February 22, 2024, 11:13am UTC](https://forums.unrealengine.com/t/ue5-compiling-shaders-on-every-startup/520971/31 "2024-02-22T11:13:18Z")

</div>

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:

 ![image](https://d3kjluh73b9h9o.cloudfront.net/original/4X/b/3/2/b32e4566f52718cd26029e5f2129543e8e1619bd.png)

---

<div class="post-metadata">

**Author:** ![Crazy\_Rabbits](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Crazy\_Rabbits](https://forums.unrealengine.com/u/Crazy_Rabbits)\
**Post date:** [June 14, 2024, 10:10am UTC](https://forums.unrealengine.com/t/ue5-compiling-shaders-on-every-startup/520971/32 "2024-06-14T10:10:51Z")

</div>

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

---

<div class="post-metadata">

**Author:** ![davek](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@davek](https://forums.unrealengine.com/u/davek)\
**Post date:** [June 22, 2024, 1:10am UTC](https://forums.unrealengine.com/t/ue5-compiling-shaders-on-every-startup/520971/33 "2024-06-22T01:10:16Z")

</div>

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

---

<div class="post-metadata">

**Author:** ![DLR.OKen](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@DLR.OKen](https://forums.unrealengine.com/u/DLR.OKen)\
**Post date:** [November 1, 2024, 1:51am UTC](https://forums.unrealengine.com/t/ue5-compiling-shaders-on-every-startup/520971/34 "2024-11-01T01:51:52Z")

</div>

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.

---

<div class="post-metadata">

**Author:** ![WorldFilmsStudio](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@WorldFilmsStudio](https://forums.unrealengine.com/u/WorldFilmsStudio)\
**Post date:** [January 17, 2025, 1:53pm UTC](https://forums.unrealengine.com/t/ue5-compiling-shaders-on-every-startup/520971/35 "2025-01-17T13:53:32Z")

</div>

Did you find a workaround for 5.5?

---

<div class="post-metadata">

**Author:** ![IRJayJay](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@IRJayJay](https://forums.unrealengine.com/u/IRJayJay)\
**Post date:** [March 7, 2025, 7:03pm UTC](https://forums.unrealengine.com/t/ue5-compiling-shaders-on-every-startup/520971/36 "2025-03-07T19:03:54Z")

</div>

I commented on this years ago, but my issue actually wasn’t solved.  
I ended up finding somewhere in my error logs that certain materials had static lighting set to off.

Since my level used static lights, it recompiled the shaders every time. Once I turned static lighting on for them, it never had to recompile shaders for no reason again.

---

<div class="post-metadata">

**Author:** ![LEIT](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/leit/32/1069506_2.png) [@LEIT](https://forums.unrealengine.com/u/LEIT)\
**Post date:** [March 11, 2025, 11:13pm UTC](https://forums.unrealengine.com/t/ue5-compiling-shaders-on-every-startup/520971/37 "2025-03-11T23:13:13Z")

</div>

I did a bunch of these fixes. I moved my shader cache because it filled up my c drive (common).  
I ended up finding the bottom right corner (UE5.0) “derived data”. Using this post, I changed it to my new global folder. I had a hard drive go out and one of them (these settings) was pointed to that hard drive. It stopped trying to re-compile every time I started it up, when I fixed this directory.

---

<div class="post-metadata">

**Author:** ![mmm2551](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@mmm2551](https://forums.unrealengine.com/u/mmm2551)\
**Post date:** [June 2, 2025, 2:18pm UTC](https://forums.unrealengine.com/t/ue5-compiling-shaders-on-every-startup/520971/38 "2025-06-02T14:18:22Z")

</div>

hey bro i have some time that problem and its not from your hardwere or pc … its bug from ue programe there is sample and easy solution i always usee it .  
1- make new projet (empty if you went )and name it…  
2- just go to your work who had 8,000 shaders let him finish compile  
3- when he open click on the folder content or select all your asset and left click mouse and shoce (imegrate) chose your new projeet for imigrate to and will done  
you will work with new projet with any problem then if you went delete old projet  
👍🙂❤

---

<div class="post-metadata">

**Author:** ![Spr\_Aachen](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Spr\_Aachen](https://forums.unrealengine.com/u/Spr_Aachen)\
**Post date:** [July 29, 2025, 3:10am UTC](https://forums.unrealengine.com/t/ue5-compiling-shaders-on-every-startup/520971/39 "2025-07-29T03:10:10Z")

</div>

Also worked on latest Unreal 5.6 version!

---

<div class="post-metadata">

**Author:** ![M0n0de1](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@M0n0de1](https://forums.unrealengine.com/u/M0n0de1)\
**Post date:** [September 4, 2026, 5:57pm UTC](https://forums.unrealengine.com/t/ue5-compiling-shaders-on-every-startup/520971/40 "2026-09-04T17:57:14Z")

</div>

An hour plus to compile shaders?!? In 2026?! Why are the shaders not compiled when they are created? Coming from a programming, pure computing and animation background, surely anyone making a system like this would include a HAL (Hardware Abstraction Layer) allowing the same shaders to work across all platforms? I literlly need Uneal for one simple task so this is the final straw, probably uninstalling!

[Previous page](https://forums.unrealengine.com/t/ue5-compiling-shaders-on-every-startup/520971.md?page=1)
