# Only a single ShaderCompileWorker Process

**URL:** <https://forums.unrealengine.com/t/only-a-single-shadercompileworker-process/455973>\
**Category:** Programming & Scripting\
**Tags:** unreal-engine\
**Created:** [September 25, 2019, 7:08pm UTC](https://forums.unrealengine.com/t/only-a-single-shadercompileworker-process/455973 "2019-09-25T19:08:57Z")\
**Posts on this page:** 14\
**Page:** 1

<div class="post-metadata">

**Author:** ![Macler](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/macler/32/467494_2.png) [@Macler](https://forums.unrealengine.com/u/Macler)\
**Post date:** [September 25, 2019, 7:08pm UTC](https://forums.unrealengine.com/t/only-a-single-shadercompileworker-process/455973/1 "2019-09-25T19:08:57Z")

</div>

Evening everyone!

At work I have got a new workstation, I Installed Unreal on it and when I opened my project I noticed it was actually slower in compiling my shaders that my old workstation. At the time I accepted it but today I upgraded the project to Unreal 4.23 and I noticed it again and started digging around. I found that my old workstation spawn multiple ShaderCompileWorker processes as visible in the task manager and my new workstation does not. My old one uses nearly 100% of the cpu where as the new system only uses 8 to 14 % of the cpu. (where the rest sits pretty much idle)

Do you guy’s have any idea how to fix this. Cause compiling 20.000+ shaders on a single process is really slow.

Cheers!

ML

---

<div class="post-metadata">

**Author:** ![Vosil](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Vosil](https://forums.unrealengine.com/u/Vosil)\
**Post date:** [January 23, 2021, 3:42pm UTC](https://forums.unrealengine.com/t/only-a-single-shadercompileworker-process/455973/2 "2021-01-23T15:42:22Z")

</div>

Hi. I know this was a while ago, but did you ever find a solution to this?

I’m having exactly the same issue, and I’m struggling with finding anyone else whos finding the same behaviour, or how to address it.

---

<div class="post-metadata">

**Author:** ![Vosil](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Vosil](https://forums.unrealengine.com/u/Vosil)\
**Post date:** [January 23, 2021, 4:40pm UTC](https://forums.unrealengine.com/t/only-a-single-shadercompileworker-process/455973/3 "2021-01-23T16:40:16Z")

</div>

Managed to find a work around just after posting the comment above.

I don’t know if this has any knock-on effects, but it seems to be related to the “XGE Controller” plugin.

As far as I’ve gathered it’s an Incredibuild powered compilation distribution plugin … but which seems to actually just prevent full utilisation of multiple cores on your CPU.

So, if you’re finding that shader compilation is very slow, AND, you only see one ShaderCompileWorker.exe process being launched when shaders are compiling, this could be your issue as well. Actually, you might see 3 ShaderCompileWorkers in the “processes” tab in Task Manager … but if you switch to the details tab, you might see that there’s only one “shadercompileworker.exe”, and two “XGEControlWorker.exe” processes. For most people there will be no “XGEControlWorker.exe” processes, and many “shadercompileworker.exe” processes instead. Why this functions differently for some people, I have no idea.

Anyway, the solution I found that helped significantly with compilation times is to disable the “XGE Controller” plugin entirely. (In the editor: Edit \> Plugins. Search for “XGE Controller”, and untick “enabled”).

Edit: I found something called Incredibuild Coordinator installed on this machine. It detected the shader compile task pending for distribution, but had no valid license installed, so wasn’t actually distributing to multiple cores. I imagine this was the reason most people don’t come across this problem. Without this installed (or something similar?), the engine defaulted to not using XGE Incredibuild powered compilation.

---

<div class="post-metadata">

**Author:** ![RomboBellogia](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@RomboBellogia](https://forums.unrealengine.com/u/RomboBellogia)\
**Post date:** [March 2, 2021, 1:14pm UTC](https://forums.unrealengine.com/t/only-a-single-shadercompileworker-process/455973/4 "2021-03-02T13:14:43Z")

</div>

I know of other people that have this plugin on, and they still can access multicore multithreaded shadercompiling. What is happening here, it’s really odd.  
I also had to turn this plugin off to solve it - I wonder if even though it uses multicore without the plugin, the performance will not be the same as with multicore with the XGE Controller Plugin Enabled and resorting to multicore.

---

<div class="post-metadata">

**Author:** ![Vosil](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Vosil](https://forums.unrealengine.com/u/Vosil)\
**Post date:** [March 4, 2021, 7:23pm UTC](https://forums.unrealengine.com/t/only-a-single-shadercompileworker-process/455973/5 "2021-03-04T19:23:15Z")

</div>

I was wondering this too, and in my edit I mentioned that it wasn’t just the plugin on it’s own for me, but a combination of the plugin AND the Incredibuild Coordinator program that I had installed.

If you don’t have this program installed, it might be that it’s interacting with something else in a similar way. But in my findings, it wasn’t the plugin on it’s own, and disabling either the plugin OR uninstalling Incredibuild Coordinator fixed the issue for me.

---

<div class="post-metadata">

**Author:** ![RomboBellogia](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@RomboBellogia](https://forums.unrealengine.com/u/RomboBellogia)\
**Post date:** [March 4, 2021, 7:39pm UTC](https://forums.unrealengine.com/t/only-a-single-shadercompileworker-process/455973/6 "2021-03-04T19:39:42Z")

</div>

I didn’t get to install this Incredibuild software. I believe it gets autoinstalled when you install UE4 on your machine. The thing is that once I turned off XGE it started using all the threads to do shadercompiling.

It would be cool to know and compare a particular processor with XGE multithreaded working and without it, to know if there is a major performance gap.

If you uninstall Incredibuild it will naturally stop working, much the same as turning off the plugin.  
We’ll see if we have anyone answering, preferably with the **XGE multithreaded working** vs no **XGE/Incredibuild Combo.**

---

<div class="post-metadata">

**Author:** ![BIGTIMEMASTER](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/bigtimemaster/32/710746_2.png) [@BIGTIMEMASTER](https://forums.unrealengine.com/u/BIGTIMEMASTER)\
**Post date:** [July 4, 2021, 1:00am UTC](https://forums.unrealengine.com/t/only-a-single-shadercompileworker-process/455973/7 "2021-07-04T01:00:19Z")

</div>

Thank god I found this. Thanks for posting.

Same issue and disabling the plugin saved me at the end of a very frustrating day.

I was changing my engine.ini but it was not making any difference at all.

---

<div class="post-metadata">

**Author:** ![Vosil](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Vosil](https://forums.unrealengine.com/u/Vosil)\
**Post date:** [July 4, 2021, 11:54am UTC](https://forums.unrealengine.com/t/only-a-single-shadercompileworker-process/455973/8 "2021-07-04T11:54:10Z")

</div>

Im glad this helped someone else. It drove me crazy for a long time, so Im happy it can save someone the endless troubleshooting I went through.

---

<div class="post-metadata">

**Author:** ![Tr1p79](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Tr1p79](https://forums.unrealengine.com/u/Tr1p79)\
**Post date:** [July 10, 2021, 2:38pm UTC](https://forums.unrealengine.com/t/only-a-single-shadercompileworker-process/455973/9 "2021-07-10T14:38:31Z")

</div>

Oh my god… this bothered me for so long. Thanks mate. I AM THE SPEED.

---

<div class="post-metadata">

**Author:** ![cookiejar3](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@cookiejar3](https://forums.unrealengine.com/u/cookiejar3)\
**Post date:** [October 12, 2022, 11:26pm UTC](https://forums.unrealengine.com/t/only-a-single-shadercompileworker-process/455973/10 "2022-10-12T23:26:16Z")

</div>

You are my hero!

I had the same problem, in my case it was caused by ticking “Incredibuild” while installing Visual Studio 22.

Now that I un-installed that thing, everything is back to normal again. Thank you!

---

<div class="post-metadata">

**Author:** ![Vosil](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Vosil](https://forums.unrealengine.com/u/Vosil)\
**Post date:** [October 14, 2022, 7:31pm UTC](https://forums.unrealengine.com/t/only-a-single-shadercompileworker-process/455973/11 "2022-10-14T19:31:06Z")

</div>

Glad this has helped another person! It really is a world of frustration, and seems to only happen to people through an unlikely combination of events. I wonder how many people out there have this issue but might not have the experience to realise something is even wrong.

If I wasn’t so lazy I’d raise this as an issue with Epic … but I am. So hopefully people will manage to find their way here for an easy fix.

---

<div class="post-metadata">

**Author:** ![TheSubZer0](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@TheSubZer0](https://forums.unrealengine.com/u/TheSubZer0)\
**Post date:** [November 21, 2022, 11:48pm UTC](https://forums.unrealengine.com/t/only-a-single-shadercompileworker-process/455973/12 "2022-11-21T23:48:41Z")

</div>

![image](https://d3kjluh73b9h9o.cloudfront.net/original/4X/c/8/c/c8c9386f637570f29ebe8e7993aab2d85688eb4a.png)

In the BaseEngine.ini file at C:\Program Files\Epic Games\UE\_4.27\Engine\Config\BaseEngine.ini, put “;” behind these options as in the photo, and the problem is solved.

---

<div class="post-metadata">

**Author:** ![ChewyJah](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@ChewyJah](https://forums.unrealengine.com/u/ChewyJah)\
**Post date:** [December 30, 2022, 3:51pm UTC](https://forums.unrealengine.com/t/only-a-single-shadercompileworker-process/455973/13 "2022-12-30T15:51:53Z")

</div>

Thanks, yes it was incredibuild and i disabled the XGE enabling the multi core thread shader compile workers.

---

<div class="post-metadata">

**Author:** ![Kalistos12](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Kalistos12](https://forums.unrealengine.com/u/Kalistos12)\
**Post date:** [December 30, 2023, 11:43am UTC](https://forums.unrealengine.com/t/only-a-single-shadercompileworker-process/455973/14 "2023-12-30T11:43:51Z")

</div>

Jisus thank you. What is the point of having i9 13900k proccesor with 32 treads if im using 1 …once the plug in was disable something that went on for a full day without moving forward now compleatly finished in 10 minutes. Life saver !
