# ShaderCompilers take 100% C drive performance - very slow

**URL:** <https://forums.unrealengine.com/t/shadercompilers-take-100-c-drive-performance-very-slow/2485267>\
**Category:** Platform & Builds\
**Tags:** unreal-engine, question\
**Created:** [May 1, 2025, 2:30pm UTC](https://forums.unrealengine.com/t/shadercompilers-take-100-c-drive-performance-very-slow/2485267 "2025-05-01T14:30:23Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![maxbrown](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/maxbrown/32/1194506_2.png) [@maxbrown](https://forums.unrealengine.com/u/maxbrown)\
**Post date:** [May 1, 2025, 2:30pm UTC](https://forums.unrealengine.com/t/shadercompilers-take-100-c-drive-performance-very-slow/2485267/1 "2025-05-01T14:30:23Z")

</div>

When compiling shaders, UE shadercompilers take 100% of my nvme Cdrive thats still fairly empty (500Gb free). The 16 core cpu is barely used, the 64gb memory also still lots free.

This process really cripples performance of the win11 systeem overall.

I tried making a directory symbolic link for the UnrealShaderWorkingDir folder and point it to a nvme D drive with lots of space. BUt, UE deletes those directories before a new shader compilation batch process is started.

My laptop with the same setup (win11, 2 nvme drives, same folders etc) doesn’t have this problem.  
Any suggestion what can cause this and/or how to point the UnrealShaderWorkingDir to my D drive?

---

<div class="post-metadata">

**Author:** ![brs-sebascova](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/brs-sebascova/32/1052483_2.png) [@brs-sebascova](https://forums.unrealengine.com/u/brs-sebascova)\
**Post date:** [May 1, 2025, 3:22pm UTC](https://forums.unrealengine.com/t/shadercompilers-take-100-c-drive-performance-very-slow/2485267/2 "2025-05-01T15:22:18Z")

</div>

Hello there @maxbrown!

For this scenario, we cannot change shader compiler folder’s directly, but we can control where they end up stored, at the Derived Data Cache.

All information related to DDC and how to manipulate it can be found in the following community guide:

> **[Using Derived Data Cache in Unreal Engine | Unreal Engine 5.5 Documentation |...](https://dev.epicgames.com/documentation/en-us/unreal-engine/using-derived-data-cache-in-unreal-engine#howtheddcisstructured)**
>
> Learn about caching data to save your team's time and disk space.

Alternatively, there’s a manual method to alter how DDC data is saved, which proved useful in a similar scenario to yours:

> [@Derived Data Cache?](https://forums.unrealengine.com/t/derived-data-cache/324747/5):
>
> 1. Open BaseEngine.ini \> UnrealEngineVersion\Engine\Config\BaseEngine.ini
> 2. Find: [InstalledDerivedDataBackendGraph]
> 3. Change: Path=“%ENGINEVERSIONAGNOSTICUSERDIR%DerivedDataCache”
> 4. to: Path=“%GAMEDIR%LocalDerivedDataCache”
> 
> All cache will be saved in to directory of your project

---

<div class="post-metadata">

**Author:** ![maxbrown](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/maxbrown/32/1194506_2.png) [@maxbrown](https://forums.unrealengine.com/u/maxbrown)\
**Post date:** [May 1, 2025, 5:41pm UTC](https://forums.unrealengine.com/t/shadercompilers-take-100-c-drive-performance-very-slow/2485267/3 "2025-05-01T17:41:56Z")

</div>

thanks for the reply. Will test tomorrow

---

<div class="post-metadata">

**Author:** ![maxbrown](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/maxbrown/32/1194506_2.png) [@maxbrown](https://forums.unrealengine.com/u/maxbrown)\
**Post date:** [May 5, 2025, 6:16am UTC](https://forums.unrealengine.com/t/shadercompilers-take-100-c-drive-performance-very-slow/2485267/4 "2025-05-05T06:16:48Z")

</div>

> [@Derived Data Cache?](https://forums.unrealengine.com/t/derived-data-cache/324747/5):
>
> %GAMEDIR%LocalDerivedDataCache

Just tested this and two extra directories are made in every project (LocalDerivedDataCache & DerivedDataCache) but still the shader compiling process takes 100% of the C drive performance. Maybe I have to re-install UE completely on this desktop although a Verify check was done.

---

<div class="post-metadata">

**Author:** ![brs-sebascova](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/brs-sebascova/32/1052483_2.png) [@brs-sebascova](https://forums.unrealengine.com/u/brs-sebascova)\
**Post date:** [May 5, 2025, 3:49pm UTC](https://forums.unrealengine.com/t/shadercompilers-take-100-c-drive-performance-very-slow/2485267/5 "2025-05-05T15:49:07Z")

</div>

Hello again!

That would be a good approach. I would suggest a full uninstall/reinstall of all Epic software:

- First, uninstall the engine, launcher, asset packs, etc
- Next, open the registry directory HKEY\_CURRENT\_USER\Software\Epic Games\Unreal Engine\Builds, and delete any build entries
- Finally, delete the folders _%userprofile%\AppData\Local\UnrealEngine_ and _%userprofile%\AppData\Local\UnrealHeaderTool_
- After that, no elements related to UE should be left in your system
- Now, reinstall UE launcher from scratch, and only add the latest version of the engine
- After the process is complete, test compiling shaders again

As alternative solutions, in another thread with a similar problem, it was suggested to alter the priority of the process for shader compilation, reinstalling all elements from Visual Studio 2022, as well as setting an UE exception for antivirus. I would not recommend that last step, though. All details can be found here:

> [@Shader compilation is slow and do not use available ressources](https://forums.unrealengine.com/t/shader-compilation-is-slow-and-do-not-use-available-ressources/530585):
>
> Hello, first time i open a project on UE5, it takes ages to compile shaders.while in the editor it take ages to prepare the shaders. It would not bore me if only these task would use some of the available computing power… My specs are Intel Core I9 9900K 8Cores-16threads, RTX3090TI, SSD EVO, 32GB Memory.I use the V512.15 Studio drivers. I guess that there are some engine parameters to tweak , the only i have found which seems to help is WorkerProcessPriority=-1=\>0 or 1 in the ‘BaseEngine.ini’ …

> **[Setting Up Visual Studio Development Environment for C++ Projects in Unreal...](https://dev.epicgames.com/documentation/en-us/unreal-engine/setting-up-visual-studio-development-environment-for-cplusplus-projects-in-unreal-engine)**
>
> Tips, tricks, and techniques for setting up Visual Studio to work with Unreal Engine.
