# Unable to compile shaders with Incredibuild disabled

**URL:** <https://forums.unrealengine.com/t/unable-to-compile-shaders-with-incredibuild-disabled/478160>\
**Category:** Rendering\
**Tags:** compilation, unreal-engine, Shaders, question\
**Created:** [February 2, 2021, 11:42pm UTC](https://forums.unrealengine.com/t/unable-to-compile-shaders-with-incredibuild-disabled/478160 "2021-02-02T23:42:50Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![anonymous\_user\_1d88de50](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@anonymous\_user\_1d88de50](https://forums.unrealengine.com/u/anonymous_user_1d88de50)\
**Post date:** [February 2, 2021, 11:42pm UTC](https://forums.unrealengine.com/t/unable-to-compile-shaders-with-incredibuild-disabled/478160/1 "2021-02-02T23:42:50Z")

</div>

Hello!  
I recently moved to Unreal Engine 4.26, and I was getting issues with compiling through incredibuild (first it was taking almost a minute to build a single class, then about 5 seconds each time to compile the preview for shader that had a single node).  
I disabled Incredibuild in the settings:  
-BuildConfiguration.xml, with false, in the AppData/Roaming/UnrealEngine/etc  
-ConsoleVariables.ini, with r.XGEShaderCompile = 0 in UE\_4.16/Engine/Config/ConsoleVariables.ini

It worked for code compilation (it went down to less than one second per rebuild), and didn’t have an effect on shader compilation (still taking 10 seconds for the one node shader, and was still ringing the windows alert noise when it finished compilation from incredibuild).

So I stopped the incredibuild service and now the shaders won’t compile at all.

I was using 4.22 before this and it never tried to use incredibuild and shader compilation was almost instantaneous.

Is there a fix for shaders building without running incredibuild?  
I see in the code that apparently Incredibuild will try to build the shaders even if I do disable it, so there must be some hidden command that disables it completely and makes it work like older versions?

Thank you for any help.

EDIT: I managed to get this working by completely uninstalling Incredibuild, so it seems that even disabled UE 4.26 is still trying to use it. The shader compilation time also dropped from 5 seconds to less than 1 second after I uninstalled Incredibuild. Unfortunately this is not a good long-term solution since I need Incredibuild for work, so any alternatives are appreciated.

---

<div class="post-metadata">

**Author:** ![PrLayton](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@PrLayton](https://forums.unrealengine.com/u/PrLayton)\
**Post date:** [April 16, 2021, 3:27pm UTC](https://forums.unrealengine.com/t/unable-to-compile-shaders-with-incredibuild-disabled/478160/2 "2021-04-16T15:27:28Z")

</div>

Hi @Spliter88,

This issue should come from 4.26, as in 4.25 it seems to work fine.

Trying to disable XGE in the command argument or in the code doesn’t work for me either.

If you have a feedback from Unreal support team, don’t hesitate to update this thread.
