# How to fix UE4 4.19 not compiling shaders? (Getting stuck at 45%)

**URL:** <https://forums.unrealengine.com/t/how-to-fix-ue4-4-19-not-compiling-shaders-getting-stuck-at-45/420076>\
**Category:** Getting Started & Setup\
**Tags:** stuck, engine-compile, initialize, unreal-engine, crash, editor, question\
**Created:** [March 17, 2018, 11:25am UTC](https://forums.unrealengine.com/t/how-to-fix-ue4-4-19-not-compiling-shaders-getting-stuck-at-45/420076 "2018-03-17T11:25:21Z")\
**Posts on this page:** 20\
**Page:** 1

<div class="post-metadata">

**Author:** ![IIIBlackhartIII](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@IIIBlackhartIII](https://forums.unrealengine.com/u/IIIBlackhartIII)\
**Post date:** [March 17, 2018, 11:25am UTC](https://forums.unrealengine.com/t/how-to-fix-ue4-4-19-not-compiling-shaders-getting-stuck-at-45/420076/1 "2018-03-17T11:25:21Z")

</div>

I’ve been having some very strange issues with 4.19 that I can’t seem to resolve, issues which weren’t present when I was using 4.18.3; namely, attempting to launch a project with additional rendering features (for example, enabling Clear Coat Dual Normals, or enabling Mesh Distance Fields) results in the editor getting stuck initializing at 45%. I was running into this issue in the 4.19 previews, preview 3 and preview 6 specifically that I tried… and I’ve tried looking at every possible solution out there.

I have tried deleting the Binaries, Intermediate and Saved folders in my project folder. I deleted the engine version folder at: %userprofile%\AppData\Local\UnrealEngine\

I tried creating a new project without starter content- which works fine until I enable either of those project features and then it gets stuck.

I’ve tried waiting 45 mins + for the project to compile shaders- but I’ve opened the task manager and noticed that no shader compiler tasks get launched. I’ve also noticed reinstalling 4.18.3 that the first time I launch the engine I do get shader compiler processes launched and even in the editor browser screen I see the little pop up in the bottom right alerting me to how many shaders are still being compiled.

I have tried a full and clean installation of Windows 10, same issue. I have tried enabling and disabling my antivirus and firewall. I have tried updating my graphics drivers and rolling back my graphics drivers… nothing seems to work.

As far as I can tell, on my system 4.19 is getting stuck enabling extra rendering features which it is expecting to recompile shaders for but for whatever reason cannot launch the shader compiler.

None of this makes sense, and on my system a totally empty project should not take more than a few seconds to load. For the record I’m running on an i7-7700k with 32GB of RAM and a GTX 1080ti with the engine installed on an SSD.

I want to be able to use 4.19 for the improved Temporal AA features, for the unified AR features, and especially for the ability to import SpeedTree 8 models from their beta modeler for UE4. While it seems I am to some extent able to use 4.19 as long as I don’t touch anything in regards to the project settings… being unable to use features such as DFAO and clearcoat normals as I can do in 4.18.3 is a huge setback.

---

<div class="post-metadata">

**Author:** ![Zesales](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Zesales](https://forums.unrealengine.com/u/Zesales)\
**Post date:** [March 29, 2018, 5:53pm UTC](https://forums.unrealengine.com/t/how-to-fix-ue4-4-19-not-compiling-shaders-getting-stuck-at-45/420076/2 "2018-03-29T17:53:16Z")

</div>

Try to launch it without admin, there is the problem that you launch only the engine as admin not the shadowcompiler, thats something that i noticed when i tryed to launch a Project directly and had Admin checked inside the properties of the Engine.exe. Noticed this problem with the engine verion 4.18.2.

At least you can use the 4.19. i couldnt get the 4.19 to run. It always hangs up at 45% when the engine is initializing (waited for 8 hours and it dosnt worked, tryed a new clean build didnt helped, followed many topics, tryed a rebuild of the Shadowcompiler).

---

<div class="post-metadata">

**Author:** ![IIIBlackhartIII](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@IIIBlackhartIII](https://forums.unrealengine.com/u/IIIBlackhartIII)\
**Post date:** [April 4, 2018, 1:34am UTC](https://forums.unrealengine.com/t/how-to-fix-ue4-4-19-not-compiling-shaders-getting-stuck-at-45/420076/3 "2018-04-04T01:34:01Z")

</div>

How do you enable or disable admin for the program? All I’ve done is install the engine and launch from the Epic Games launcher- I’m not running as admin from the executable.

---

<div class="post-metadata">

**Author:** ![IIIBlackhartIII](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@IIIBlackhartIII](https://forums.unrealengine.com/u/IIIBlackhartIII)\
**Post date:** [April 5, 2018, 9:53am UTC](https://forums.unrealengine.com/t/how-to-fix-ue4-4-19-not-compiling-shaders-getting-stuck-at-45/420076/4 "2018-04-05T09:53:57Z")

</div>

_ **For anyone coming to this thread at a later date, I found a solution in my case!** _

For me, the solution was uninstalling a third-party development tool called “IncrediBuild”.

This was a tool included in one of Visual Studio’s coding packages who’s background service interfered with proper operation of Unreal Engine.

I was able to track this issue down with help from the members on the discord server when attempting to build a version of the engine from GitHub source and the build kept failing as a result of IncrediBuild. Whatever benefits this service purports to offer, my current suggestion if you encounter a similar error in your UE4 install is to remove this tool from your system.

---

<div class="post-metadata">

**Author:** ![Omar\_Vector](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Omar\_Vector](https://forums.unrealengine.com/u/Omar_Vector)\
**Post date:** [May 6, 2018, 5:08am UTC](https://forums.unrealengine.com/t/how-to-fix-ue4-4-19-not-compiling-shaders-getting-stuck-at-45/420076/5 "2018-05-06T05:08:50Z")

</div>

exactly , thats what happened for me.

thanks for sharing this, your solution worked for me.

---

<div class="post-metadata">

**Author:** ![cipriano28](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@cipriano28](https://forums.unrealengine.com/u/cipriano28)\
**Post date:** [July 11, 2018, 9:46am UTC](https://forums.unrealengine.com/t/how-to-fix-ue4-4-19-not-compiling-shaders-getting-stuck-at-45/420076/6 "2018-07-11T09:46:57Z")

</div>

I don’t have IncrediBuild installed and it still stuck at 45% when I load Product Viewer template. The old projects it opens but not compiling shaders. I have the same error with UE 4.20. What else can I try?

---

<div class="post-metadata">

**Author:** ![Omar\_Vector](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Omar\_Vector](https://forums.unrealengine.com/u/Omar_Vector)\
**Post date:** [July 11, 2018, 9:49am UTC](https://forums.unrealengine.com/t/how-to-fix-ue4-4-19-not-compiling-shaders-getting-stuck-at-45/420076/7 "2018-07-11T09:49:16Z")

</div>

if its stuck and ur cpu is 100% , then give it time to finish compiling .

---

<div class="post-metadata">

**Author:** ![cipriano28](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@cipriano28](https://forums.unrealengine.com/u/cipriano28)\
**Post date:** [July 12, 2018, 6:36am UTC](https://forums.unrealengine.com/t/how-to-fix-ue4-4-19-not-compiling-shaders-getting-stuck-at-45/420076/8 "2018-07-12T06:36:44Z")

</div>

CPU is staying at 20% and I have let it run for 3 hours, my system is (i7 6700HQ, 16Gb RAM, PV 1070 GTX, laptop). I have also delete DerivedDataCache.  
Can someone provide me a link with Product Viewer template UE 4.19 already compiled?  
Thank you.

---

<div class="post-metadata">

**Author:** ![Omar\_Vector](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Omar\_Vector](https://forums.unrealengine.com/u/Omar_Vector)\
**Post date:** [July 12, 2018, 6:49am UTC](https://forums.unrealengine.com/t/how-to-fix-ue4-4-19-not-compiling-shaders-getting-stuck-at-45/420076/9 "2018-07-12T06:49:54Z")

</div>

since UE 4.20 is still in preview , you cant confirm yet, wait for final release. bec I’ve the same issue with 4.20 preview with some projects.

---

<div class="post-metadata">

**Author:** ![Zesales](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Zesales](https://forums.unrealengine.com/u/Zesales)\
**Post date:** [July 14, 2018, 10:59pm UTC](https://forums.unrealengine.com/t/how-to-fix-ue4-4-19-not-compiling-shaders-getting-stuck-at-45/420076/10 "2018-07-14T22:59:08Z")

</div>

try to find incredibuild under software on windows. sometimes you think you havent installed increadibuild but it is on your system without noticing it.

here is a way to disable Increadibuild manually so that Unreal Engine UBT isnt searching for it:

> **[How to stop UBT from using/searching for Incredibuild?](https://forums.unrealengine.com/questions/325625/how-to-stop-ubt-from-usingsearching-for-incredibui.html)**
>
> I'm trying to compare the compile times with and without Incredibuild, but I can't seem to stop UBT from automatically using it, since it's not triggered manually like one would when using Incredibuild in a non-UE4 project (i.e. a project that...

same but has a little bit more information about disabling increadibuild:

> **[How to disable Incredibuild](https://forums.unrealengine.com/questions/488246/how-to-disable-incredibuild.html)**
>
> Hello. I love the feature that UBT will automatically use Incredibuild if present, however this is preventing me from compiling entirely right now. I am on a machine that has Incredibuild but only with a partial license that is not enough to run UBT....

---

<div class="post-metadata">

**Author:** ![Bater](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Bater](https://forums.unrealengine.com/u/Bater)\
**Post date:** [July 15, 2018, 6:03pm UTC](https://forums.unrealengine.com/t/how-to-fix-ue4-4-19-not-compiling-shaders-getting-stuck-at-45/420076/11 "2018-07-15T18:03:31Z")

</div>

It is the same with me but this will be bad If I try to create mobile games as the tool wasn’t having this issue in previous releases of Unreal Engine!!!

---

<div class="post-metadata">

**Author:** ![anonymous\_user\_e19b70ae1](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@anonymous\_user\_e19b70ae1](https://forums.unrealengine.com/u/anonymous_user_e19b70ae1)\
**Post date:** [July 17, 2018, 11:14pm UTC](https://forums.unrealengine.com/t/how-to-fix-ue4-4-19-not-compiling-shaders-getting-stuck-at-45/420076/12 "2018-07-17T23:14:06Z")

</div>

This answer made me so happy :)…totally worked for me - the whole project runs 10X faster even…THANK YOU!!!

---

<div class="post-metadata">

**Author:** ![Bater](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Bater](https://forums.unrealengine.com/u/Bater)\
**Post date:** [July 17, 2018, 11:23pm UTC](https://forums.unrealengine.com/t/how-to-fix-ue4-4-19-not-compiling-shaders-getting-stuck-at-45/420076/13 "2018-07-17T23:23:30Z")

</div>

IncrediBuild is required for you to be able to build games for mobile devices, so if you don’t want to build games for mobile devices then you can uninstall it, there are two reasons for the issue you are facing:  
1-the texture or materials that you are using doesn’t work on mobile.  
2-the IncrediBuild service is off, just run it from windows services and everything will get fine.

---

<div class="post-metadata">

**Author:** ![cipriano28](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@cipriano28](https://forums.unrealengine.com/u/cipriano28)\
**Post date:** [July 23, 2018, 11:06am UTC](https://forums.unrealengine.com/t/how-to-fix-ue4-4-19-not-compiling-shaders-getting-stuck-at-45/420076/14 "2018-07-23T11:06:21Z")

</div>

I don’t have IncreadiBuild installed and is still stuck at 45%.

---

<div class="post-metadata">

**Author:** ![cleaver404](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@cleaver404](https://forums.unrealengine.com/u/cleaver404)\
**Post date:** [April 26, 2019, 10:10am UTC](https://forums.unrealengine.com/t/how-to-fix-ue4-4-19-not-compiling-shaders-getting-stuck-at-45/420076/15 "2019-04-26T10:10:37Z")

</div>

Hi all,

Just for posterity, I never saw this posted & we had the issue with a 4.20.3 project we were working in/with, turning off shader compile via config.ini stopped one of our guys from hanging every time the editor tried to compile them:

r.XGEShaderCompile = 0

That’s in ConsoleVariables.ini.  
Hope it helps some!

-Matt

---

<div class="post-metadata">

**Author:** ![JoseFelix](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@JoseFelix](https://forums.unrealengine.com/u/JoseFelix)\
**Post date:** [April 26, 2019, 3:33pm UTC](https://forums.unrealengine.com/t/how-to-fix-ue4-4-19-not-compiling-shaders-getting-stuck-at-45/420076/16 "2019-04-26T15:33:08Z")

</div>

For a project related configuration just place into /config/DefaultEngine.ini:

```
[SystemSettings]
r.XGEShaderCompile = 0
```

---

<div class="post-metadata">

**Author:** ![cleaver404](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@cleaver404](https://forums.unrealengine.com/u/cleaver404)\
**Post date:** [April 26, 2019, 7:51pm UTC](https://forums.unrealengine.com/t/how-to-fix-ue4-4-19-not-compiling-shaders-getting-stuck-at-45/420076/17 "2019-04-26T19:51:00Z")

</div>

That looks good too 😉

---

<div class="post-metadata">

**Author:** ![Niaphim](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Niaphim](https://forums.unrealengine.com/u/Niaphim)\
**Post date:** [August 5, 2019, 5:14pm UTC](https://forums.unrealengine.com/t/how-to-fix-ue4-4-19-not-compiling-shaders-getting-stuck-at-45/420076/18 "2019-08-05T17:14:49Z")

</div>

Confirmed for me (UE 4.22). Was stuck on 50% saving a material, couldn’t compile shaders. Turned out I’ve installed a Visual Studio package, as described. Removing from “Add and Remove Programs” menu worked like a charm.

---

<div class="post-metadata">

**Author:** ![i\_Byte](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@i\_Byte](https://forums.unrealengine.com/u/i_Byte)\
**Post date:** [March 20, 2021, 4:20pm UTC](https://forums.unrealengine.com/t/how-to-fix-ue4-4-19-not-compiling-shaders-getting-stuck-at-45/420076/19 "2021-03-20T16:20:52Z")

</div>

Thank you, man! Couldn’t find the problem for a week. Only after delete any links to IncrediBuild from Windows Registry shaders compile begin.

---

<div class="post-metadata">

**Author:** ![badpubg555](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@badpubg555](https://forums.unrealengine.com/u/badpubg555)\
**Post date:** [January 25, 2023, 6:19pm UTC](https://forums.unrealengine.com/t/how-to-fix-ue4-4-19-not-compiling-shaders-getting-stuck-at-45/420076/20 "2023-01-25T18:19:13Z")

</div>

THANKS A LOT,FINALLY I CAN START TO LEARN UE5!!! 😄
