# \#compiling-shaders

**URL:** https://forums.unrealengine.com/tag/compiling-shaders/2710.md

[Latest](https://forums.unrealengine.com/latest.md) · [Categories](https://forums.unrealengine.com/categories.md) · [Tags](https://forums.unrealengine.com/tags.md)

---

## [Game hangs on shader creation after Nvidia Driver update to 621.14 ](https://forums.unrealengine.com/t/game-hangs-on-shader-creation-after-nvidia-driver-update-to-621-14/2851051)

<div class="topic-metadata">

**Author:** [@sds\_jyerkes](https://forums.unrealengine.com/u/sds_jyerkes)\
**Replies:** 1\
**Last updated:** [November 10, 2026, 8:37pm UTC](https://forums.unrealengine.com/t/game-hangs-on-shader-creation-after-nvidia-driver-update-to-621-14/2851051 "2026-11-10T20:37:29Z")

</div>

After updating to Studio or Game Ready drivers version 621.14, the game hangs on launch. Downgrading to Game Ready 617.42 seems to get it back in a working state. Game is UE 5.8 using Nvidia Streamline Core plugins.

---

## [I need Select Highlight effect in shader](https://forums.unrealengine.com/t/i-need-select-highlight-effect-in-shader/2716222)

<div class="topic-metadata">

**Author:** [@NodirGanievCGI](https://forums.unrealengine.com/u/NodirGanievCGI)\
**Replies:** 6\
**Last updated:** [April 20, 2026, 7:09am UTC](https://forums.unrealengine.com/t/i-need-select-highlight-effect-in-shader/2716222 "2026-04-20T07:09:41Z")

</div>

What do I need? I tried making a shader using Rim Light, but I didn’t get the effect I wanted — I ended up with something like this (image 2). What I actually need is an effect like in (image 1). Specifically, wh…

---

## [How to precompile shaders for other devices?](https://forums.unrealengine.com/t/how-to-precompile-shaders-for-other-devices/2703780)

<div class="topic-metadata">

**Author:** [@TheWorm141](https://forums.unrealengine.com/u/TheWorm141)\
**Replies:** 1\
**Last updated:** [March 5, 2026, 6:14am UTC](https://forums.unrealengine.com/t/how-to-precompile-shaders-for-other-devices/2703780 "2026-03-05T06:14:49Z")

</div>

I have a bunch of .usf compute shaders. On lower-end devices the shaders take MINUTES to compile at startup, even half an hour sometimes. Some users even crash multiple times before they can finally compile which is unac…

---

## [Package Build Displays Black Materials](https://forums.unrealengine.com/t/package-build-displays-black-materials/2696338)

<div class="topic-metadata">

**Author:** [@DarkDreamStudio](https://forums.unrealengine.com/u/DarkDreamStudio)\
**Replies:** 9\
**Last updated:** [February 13, 2026, 7:43pm UTC](https://forums.unrealengine.com/t/package-build-displays-black-materials/2696338 "2026-02-13T19:43:45Z")

</div>

Did anyone tried to package a project in 5.7.2? I’m having a weird issue where the materials display perfectly playing through editor but display black when packaging. I tried to package a default third person project …

---

## [Crash after upgrading from UE 5.6.0 to 5.6.1](https://forums.unrealengine.com/t/crash-after-upgrading-from-ue-5-6-0-to-5-6-1/2659868)

<div class="topic-metadata">

**Author:** [@Dynamite\_FP](https://forums.unrealengine.com/u/Dynamite_FP)\
**Replies:** 2\
**Last updated:** [September 26, 2025, 6:54am UTC](https://forums.unrealengine.com/t/crash-after-upgrading-from-ue-5-6-0-to-5-6-1/2659868 "2025-09-26T06:54:30Z")

</div>

Hey everyone, Since upgrading my project from Unreal Engine 5.6.0 to 5.6.1, I’ve been running into crashes during shader compilation. At first, I was getting the error “Ran out of memory” while compiling shaders. Now, …

---

## [I think i'm compiling shaders faster?](https://forums.unrealengine.com/t/i-think-im-compiling-shaders-faster/2589784)

<div class="topic-metadata">

**Author:** [@DieggoMasamune](https://forums.unrealengine.com/u/DieggoMasamune)\
**Replies:** 0\
**Last updated:** [July 4, 2025, 2:13am UTC](https://forums.unrealengine.com/t/i-think-im-compiling-shaders-faster/2589784 "2025-07-04T02:13:39Z")

</div>

Hi everyone, how are you? Guys i don’t know if this is just in my PC or is this is already known, but i think i found out a way to compile shaders faster. Normally when i purchase a new map, prop or character, i open th…

---

## [Android Packaging Erros in UE5.5 - Help!](https://forums.unrealengine.com/t/android-packaging-erros-in-ue5-5-help/2410337)

<div class="topic-metadata">

**Author:** [@jansenl](https://forums.unrealengine.com/u/jansenl)\
**Replies:** 0\
**Last updated:** [March 23, 2025, 10:04am UTC](https://forums.unrealengine.com/t/android-packaging-erros-in-ue5-5-help/2410337 "2025-03-23T10:04:00Z")

</div>

Hello everyone, I’ve been stuck on these 3 error messages for weeks while trying to package an Android project in UE5.5. I’ve tried everything, including migrating all the content to a new project 2x but the errors pers…

---

## [Getting a "PipelineCacheUtilities.cpp" error when trying to add PSO cache to project](https://forums.unrealengine.com/t/getting-a-pipelinecacheutilities-cpp-error-when-trying-to-add-pso-cache-to-project/1290211)

<div class="topic-metadata">

**Author:** [@GV-Rafael-III](https://forums.unrealengine.com/u/GV-Rafael-III)\
**Replies:** 2\
**Last updated:** [January 10, 2025, 6:56am UTC](https://forums.unrealengine.com/t/getting-a-pipelinecacheutilities-cpp-error-when-trying-to-add-pso-cache-to-project/1290211 "2025-01-10T06:56:31Z")

</div>

I’m trying to learn how to create PSO caches for Unreal Projects; I’m currently using UE 5.2.1. I followed the PSO caching documentation as best I could, and managed to generate a .spc file with no errors to speak of: …

---

## [Compiling shader become slow](https://forums.unrealengine.com/t/compiling-shader-become-slow/2034433)

<div class="topic-metadata">

**Author:** [@Elites94](https://forums.unrealengine.com/u/Elites94)\
**Replies:** 2\
**Last updated:** [October 4, 2024, 8:36am UTC](https://forums.unrealengine.com/t/compiling-shader-become-slow/2034433 "2024-10-04T08:36:58Z")

</div>

Hello ! I have an issue with shader compilation in 4.26. It works well before (and my project is quite old !) but since last week, when I have to compile something even like 1000 shaders it takes a really long time ! …

---

## [is there any detailed article about ShaderCache?](https://forums.unrealengine.com/t/is-there-any-detailed-article-about-shadercache/1996884)

<div class="topic-metadata">

**Author:** [@gpu2015](https://forums.unrealengine.com/u/gpu2015)\
**Replies:** 0\
**Last updated:** [August 29, 2024, 1:59pm UTC](https://forums.unrealengine.com/t/is-there-any-detailed-article-about-shadercache/1996884 "2024-08-29T13:59:25Z")

</div>

is there any detailed article about ShaderCache?

---

## [\[UE 5.4\] How to use shaders that are loaded in runtime like in Niagara and OCIO plugin.](https://forums.unrealengine.com/t/ue-5-4-how-to-use-shaders-that-are-loaded-in-runtime-like-in-niagara-and-ocio-plugin/1979536)

<div class="topic-metadata">

**Author:** [@EsmeraldaQuinter](https://forums.unrealengine.com/u/EsmeraldaQuinter)\
**Replies:** 0\
**Last updated:** [August 17, 2024, 12:55am UTC](https://forums.unrealengine.com/t/ue-5-4-how-to-use-shaders-that-are-loaded-in-runtime-like-in-niagara-and-ocio-plugin/1979536 "2024-08-17T00:55:18Z")

</div>

I have reviewed the engine source code and it seems like plugin such as Niagara and OpenColorIO use FHlslNiagaraCompiler and FOpenColorIOShaderType to load shader source code dinamically, but I cannot find how the shader…

---

## [How is this acceptable? (compiling 8000+ shaders on a brand new installation)](https://forums.unrealengine.com/t/how-is-this-acceptable-compiling-8000-shaders-on-a-brand-new-installation/501146)

<div class="topic-metadata">

**Author:** [@onyxlee](https://forums.unrealengine.com/u/onyxlee)\
**Replies:** 65\
**Last updated:** [August 11, 2024, 11:05pm UTC](https://forums.unrealengine.com/t/how-is-this-acceptable-compiling-8000-shaders-on-a-brand-new-installation/501146 "2024-08-11T23:05:06Z")

</div>

I know this question has been asked by newbies a million times. Every time a veteran tells him it’s normal, nothing to worry about it. But this is exactly what stops people like me to make the first step into the amazing…

---

## [Shader Material Not Compiling when using raytracing](https://forums.unrealengine.com/t/shader-material-not-compiling-when-using-raytracing/1917203)

<div class="topic-metadata">

**Author:** [@Salvo\_Nostrato](https://forums.unrealengine.com/u/Salvo_Nostrato)\
**Replies:** 1\
**Last updated:** [June 26, 2024, 1:09pm UTC](https://forums.unrealengine.com/t/shader-material-not-compiling-when-using-raytracing/1917203 "2024-06-26T13:09:01Z")

</div>

I am trying to make a shader material using the Custom Node. // Inputs // uv (float2) - UV coordinates // Tex (Texture Object) - Texture float3 color = Tex.Sample(TexSampler, uv).rgb; float3 blurred = float3(0.0, 0.0,…

---

## [PREPARING SHADERS or PRE-COMPILING SHADERS before booting-up the PACKAGED GAME for the FIRST TIME...](https://forums.unrealengine.com/t/preparing-shaders-or-pre-compiling-shaders-before-booting-up-the-packaged-game-for-the-first-time/1823388)

<div class="topic-metadata">

**Author:** [@Jade2619](https://forums.unrealengine.com/u/Jade2619)\
**Replies:** 18\
**Last updated:** [May 27, 2024, 7:05am UTC](https://forums.unrealengine.com/t/preparing-shaders-or-pre-compiling-shaders-before-booting-up-the-packaged-game-for-the-first-time/1823388 "2024-05-27T07:05:07Z")

</div>

I’ve made a game and released it on Steam. But the most annoying bug I’m facing is that the game crashes everytime somone tries to load the game for the first time. After further inspection, I’ve figured out that the gam…

---

## [Shader Compilation Screen - Eliminate Shader Stutters!](https://forums.unrealengine.com/t/shader-compilation-screen-eliminate-shader-stutters/1874160)

<div class="topic-metadata">

**Author:** [@BitKovin](https://forums.unrealengine.com/u/BitKovin)\
**Replies:** 0\
**Last updated:** [May 26, 2024, 5:45pm UTC](https://forums.unrealengine.com/t/shader-compilation-screen-eliminate-shader-stutters/1874160 "2024-05-26T17:45:10Z")

</div>

Tired of shader compilation stutters ruining your game’s first impression? Many developers, especially indie devs, struggle with stutters caused by one-time shader and Niagara emitter compilations. These issues can lead …

---

## [How to Enable Automated Pso Caching in UE 5.1?](https://forums.unrealengine.com/t/how-to-enable-automated-pso-caching-in-ue-5-1/793218)

<div class="topic-metadata">

**Author:** [@GV-Rafael-III](https://forums.unrealengine.com/u/GV-Rafael-III)\
**Replies:** 7\
**Last updated:** [April 6, 2024, 1:43pm UTC](https://forums.unrealengine.com/t/how-to-enable-automated-pso-caching-in-ue-5-1/793218 "2024-04-06T13:43:29Z")

</div>

Improvements to PSO precaching is mentioned on Epic’s public roadmap for UE 5.2, so I figure now is as good a time as any to ask about this. Apparently UE 5.1 introduced some sort of automatic PSO caching process to help…

---

## [Unable to Register Vertex Shader (C++)](https://forums.unrealengine.com/t/unable-to-register-vertex-shader-c/1782109)

<div class="topic-metadata">

**Author:** [@AmethystFox1917](https://forums.unrealengine.com/u/AmethystFox1917)\
**Replies:** 0\
**Last updated:** [April 1, 2024, 4:31pm UTC](https://forums.unrealengine.com/t/unable-to-register-vertex-shader-c/1782109 "2024-04-01T16:31:55Z")

</div>

Overview I am currently trying to create a vertex shader in Unreal Engine. The project does build, however the Editor crashes while attempting to retrieve my shader file. I acquire the error message in the log Couldn't f…

---

## [City Sample Project is Stuck on Compiling Shaders at 45%](https://forums.unrealengine.com/t/city-sample-project-is-stuck-on-compiling-shaders-at-45/1636396)

<div class="topic-metadata">

**Author:** [@lamarhillstudio](https://forums.unrealengine.com/u/lamarhillstudio)\
**Replies:** 2\
**Last updated:** [January 23, 2024, 12:01pm UTC](https://forums.unrealengine.com/t/city-sample-project-is-stuck-on-compiling-shaders-at-45/1636396 "2024-01-23T12:01:02Z")

</div>

I had downloaded the City Sample Project multiple times before and never had any issue. Now on 5.3.2 it is stuck at 45% - Compiling Shaders and I had it open for over 6 hours.

---

## [\[UE5\] How to cook and package plugin?](https://forums.unrealengine.com/t/ue5-how-to-cook-and-package-plugin/1345519)

<div class="topic-metadata">

**Author:** [@EsmeraldaQuinter](https://forums.unrealengine.com/u/EsmeraldaQuinter)\
**Replies:** 0\
**Last updated:** [October 26, 2023, 12:22am UTC](https://forums.unrealengine.com/t/ue5-how-to-cook-and-package-plugin/1345519 "2023-10-26T00:22:49Z")

</div>

Hello! I have a plugin that contains 2 modules: shader core module where all shaders are loaded blueprint library where shaders are executed I want to know how to cook my plugin to generate .ushaderbytecode of my sha…

---

## [\[UE5\] Can plugin use pre-compiled shaders from cache?](https://forums.unrealengine.com/t/ue5-can-plugin-use-pre-compiled-shaders-from-cache/1344967)

<div class="topic-metadata">

**Author:** [@EsmeraldaQuinter](https://forums.unrealengine.com/u/EsmeraldaQuinter)\
**Replies:** 0\
**Last updated:** [October 25, 2023, 5:27pm UTC](https://forums.unrealengine.com/t/ue5-can-plugin-use-pre-compiled-shaders-from-cache/1344967 "2023-10-25T17:27:01Z")

</div>

Hello! I’m developing a plugin that contains shaders. The only target of our interest is windows. I was wondering how can I provide pre-compiled shaders to the end-user? I was reading this article : Shader Development…

---

## [Shaders upon engine upgrade](https://forums.unrealengine.com/t/shaders-upon-engine-upgrade/1335472)

<div class="topic-metadata">

**Author:** [@pdwallace08](https://forums.unrealengine.com/u/pdwallace08)\
**Replies:** 2\
**Last updated:** [October 17, 2023, 11:55am UTC](https://forums.unrealengine.com/t/shaders-upon-engine-upgrade/1335472 "2023-10-17T11:55:21Z")

</div>

Trying to upgrade to Unreal Engine 5.3 from 4.27 (not sure if this is the right place to post sorry), and was wondering if there was ANY way to avoid compiling every shader upon upgrading engine versions. Thanks!

---

## [\[UE5, Bug Report\] HLSL 'TexSampler' undefined if a parameter name does not equal Tex](https://forums.unrealengine.com/t/ue5-bug-report-hlsl-texsampler-undefined-if-a-parameter-name-does-not-equal-tex/1257471)

<div class="topic-metadata">

**Author:** [@Roy\_Wierer.Seda145](https://forums.unrealengine.com/u/Roy_Wierer.Seda145)\
**Replies:** 0\
**Last updated:** [August 11, 2023, 4:48am UTC](https://forums.unrealengine.com/t/ue5-bug-report-hlsl-texsampler-undefined-if-a-parameter-name-does-not-equal-tex/1257471 "2023-08-11T04:48:44Z")

</div>

I suppose this is a bug, documentation is lacking and already wasting time. Custom Material Expressions in Unreal Engine | Unreal Engine 5.2 Documentation Setup: You will get the following error: For whatev…

---

## [Pass texture array to shader](https://forums.unrealengine.com/t/pass-texture-array-to-shader/1203989)

<div class="topic-metadata">

**Author:** [@Alex\_data](https://forums.unrealengine.com/u/Alex_data)\
**Replies:** 0\
**Last updated:** [June 19, 2023, 11:09am UTC](https://forums.unrealengine.com/t/pass-texture-array-to-shader/1203989 "2023-06-19T11:09:51Z")

</div>

Hi, I’m working on compute shader and try to pass a texture array to hlsl, what i’ve done is something like: //shader parameters defined in Sub FGlobalShader class SHADER\_USE\_PARAMETER\_STRUCT(FMyStruct, FGlobalShader) …

---

## [Editor stuck at 45%, frozen and not compiling shaders](https://forums.unrealengine.com/t/editor-stuck-at-45-frozen-and-not-compiling-shaders/466947)

<div class="topic-metadata">

**Author:** [@anonymous\_user\_14b989be1](https://forums.unrealengine.com/u/anonymous_user_14b989be1)\
**Replies:** 3\
**Last updated:** [May 12, 2023, 7:25am UTC](https://forums.unrealengine.com/t/editor-stuck-at-45-frozen-and-not-compiling-shaders/466947 "2023-05-12T07:25:27Z")

</div>

Hi all, My work recently upgraded from 4.24 for 4.25. Everytime I try to open the editor it gets stuck at 45%. I know this is usually where shader compilation happens, so it’d usually be normal. However, the editor doe…

---

## [Losing my mind over Shaders compiling!](https://forums.unrealengine.com/t/losing-my-mind-over-shaders-compiling/1162275)

<div class="topic-metadata">

**Author:** [@KeknuGames](https://forums.unrealengine.com/u/KeknuGames)\
**Replies:** 0\
**Last updated:** [May 11, 2023, 7:37am UTC](https://forums.unrealengine.com/t/losing-my-mind-over-shaders-compiling/1162275 "2023-05-11T07:37:57Z")

</div>

Guys I’m losing my ■■■■ mind here trying to get shaders to compile at a reasonable pace! I’ve seen a bunch of “Fixes” and sure the XGE one unstucks shaders so they actually compile but beyond that - no changes to ANY of…

---

## [Stuck on compiling shaders on first load](https://forums.unrealengine.com/t/stuck-on-compiling-shaders-on-first-load/514488)

<div class="topic-metadata">

**Author:** [@madmandrit](https://forums.unrealengine.com/u/madmandrit)\
**Replies:** 17\
**Last updated:** [May 8, 2023, 10:10pm UTC](https://forums.unrealengine.com/t/stuck-on-compiling-shaders-on-first-load/514488 "2023-05-08T22:10:50Z")

</div>

Trying out UE5 for the first time on my M1 Max and it’s been stuck on compiling shaders for awhile now. Is this something that only happens on first load or is there something I need to do to fix it?

---

## [Dual Xeon - 40 Cores. Painfully Slow Shader Compiling.](https://forums.unrealengine.com/t/dual-xeon-40-cores-painfully-slow-shader-compiling/439113)

<div class="topic-metadata">

**Author:** [@unrealengine123](https://forums.unrealengine.com/u/unrealengine123)\
**Replies:** 6\
**Last updated:** [March 29, 2023, 4:07am UTC](https://forums.unrealengine.com/t/dual-xeon-40-cores-painfully-slow-shader-compiling/439113 "2023-03-29T04:07:59Z")

</div>

Im having extremely slow shader compilings on these latest versions of UE4. A compile of 5000 takes me about 15 minutes. Moreover when i edit any parameter in the material editor, the compiler starts compiling. and any o…

---

## [Resolved: Unreal Engine 5.1.0 Crashes when I try to package](https://forums.unrealengine.com/t/resolved-unreal-engine-5-1-0-crashes-when-i-try-to-package/756871)

<div class="topic-metadata">

**Author:** [@DeniEX32](https://forums.unrealengine.com/u/DeniEX32)\
**Replies:** 1\
**Last updated:** [March 5, 2023, 3:41pm UTC](https://forums.unrealengine.com/t/resolved-unreal-engine-5-1-0-crashes-when-i-try-to-package/756871 "2023-03-05T15:41:19Z")

</div>

Hello, My unreal engine 5.1.0 seems to crash always when I try to package, even if it’s any of the template projects, including the blank one. For some reason it crashes during the shader compilation. So far I have trie…

---

## [Compile Shaders and Light Mass using Antminer (ASIC) "bitcoin miner"](https://forums.unrealengine.com/t/compile-shaders-and-light-mass-using-antminer-asic-bitcoin-miner/503886)

<div class="topic-metadata">

**Author:** [@Suundumused](https://forums.unrealengine.com/u/Suundumused)\
**Replies:** 2\
**Last updated:** [July 25, 2022, 3:03pm UTC](https://forums.unrealengine.com/t/compile-shaders-and-light-mass-using-antminer-asic-bitcoin-miner/503886 "2022-07-25T15:03:36Z")

</div>

Recently the editor had to compile over 95k of lightmaps taking 19 hours to complete using all processor cores at high priority and 90% of 16gb of ram 3200mhz, I realize that apparently a super computer is needed, so it …

---

## [\[Feature Request\] Use enums in addition to booleans in the material editor](https://forums.unrealengine.com/t/feature-request-use-enums-in-addition-to-booleans-in-the-material-editor/421119)

<div class="topic-metadata">

**Author:** [@anonymous\_user\_d973a2dd](https://forums.unrealengine.com/u/anonymous_user_d973a2dd)\
**Replies:** 1\
**Last updated:** [March 6, 2022, 11:30am UTC](https://forums.unrealengine.com/t/feature-request-use-enums-in-addition-to-booleans-in-the-material-editor/421119 "2022-03-06T11:30:50Z")

</div>

What i mean is: since static booleans / switches are not part of the HLSL but just an editor feature to help developer to enable/diseble part of the material graph that need/not to be compiled, would be helpful to have …

[Next page](https://forums.unrealengine.com/tag/compiling-shaders/2710.md?match_all_tags=true&page=1&tags%5B%5D=compiling-shaders)
