# Shipping Build Crahes in DX12, but is fine in DX11. UE5.4.4

**URL:** <https://forums.unrealengine.com/t/shipping-build-crahes-in-dx12-but-is-fine-in-dx11-ue5-4-4/2689485>\
**Category:** Rendering\
**Tags:** unreal-engine\
**Created:** [January 4, 2026, 5:46am UTC](https://forums.unrealengine.com/t/shipping-build-crahes-in-dx12-but-is-fine-in-dx11-ue5-4-4/2689485 "2026-01-04T05:46:22Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![XxRajeevxX](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@XxRajeevxX](https://forums.unrealengine.com/u/XxRajeevxX)\
**Post date:** [January 4, 2026, 5:46am UTC](https://forums.unrealengine.com/t/shipping-build-crahes-in-dx12-but-is-fine-in-dx11-ue5-4-4/2689485/1 "2026-01-04T05:46:22Z")

</div>

Hey Everyone

I built a shipping build of my game and the first time I launch it, it is fine, but when i quit and launch the second time, the game crahes. I even tried relaunching after deleting the saved fole in AppData/Local/Project

When i open the editor, i keep getting this subtle crash in the log. Have tried many methods and nothing seems to be fix it. Not sure if this is related, but this is the only error i have in my output log in the editor and as the shipping build does not provide any logs, cannot know for sure.

development build works excellent and never has a crashing issue.

LogOutputDevice: Error: === Handled ensure: ===  
LogOutputDevice: Error: Ensure condition failed: ShaderType::ShouldPrecachePermutation(FGlobalShaderPermutationParameters(ShaderType::GetStaticType().GetFName(), Platform, PermutationId)) != EShaderPermutationPrecacheRequest::NotUsed [File:D:\build++UE5\Sync\Engine\Source\Runtime\RenderCore\Public\GlobalShader.h] [Line: 240]  
LogOutputDevice: Error: Using a global shader permutation of FTSRRejectShadingCS which hasn’t been requested for precaching at runtime. Check the implementation of ShouldPrecachePermutation on the global shader and make sure all required or development only permutations are requested for PSO precaching  
LogOutputDevice: Error: Stack:  
LogOutputDevice: Error: [Callstack] 0x00007fffa8cd8186 UnrealEditor-Renderer.dll!UnknownFunction   
LogOutputDevice: Error: [Callstack] 0x00007fffa83d84cb UnrealEditor-Renderer.dll!UnknownFunction   
LogOutputDevice: Error: [Callstack] 0x00007fffa82966cf UnrealEditor-Renderer.dll!UnknownFunction   
LogOutputDevice: Error: [Callstack] 0x00007fffa78a1734 UnrealEditor-Renderer.dll!UnknownFunction   
LogOutputDevice: Error: [Callstack] 0x00007fffa8676496 UnrealEditor-Renderer.dll!UnknownFunction   
LogOutputDevice: Error: [Callstack] 0x00007fffa862d4fa UnrealEditor-Renderer.dll!UnknownFunction   
LogOutputDevice: Error: [Callstack] 0x00007fffe384c2f5 UnrealEditor-RenderCore.dll!UnknownFunction   
LogOutputDevice: Error: [Callstack] 0x00007fffe3879fff UnrealEditor-RenderCore.dll!UnknownFunction   
LogOutputDevice: Error: [Callstack] 0x00007fffe4732722 UnrealEditor-Core.dll!UnknownFunction   
LogOutputDevice: Error: [Callstack] 0x00007fffe4727d4a UnrealEditor-Core.dll!UnknownFunction   
LogOutputDevice: Error: [Callstack] 0x00007fffe47281ee UnrealEditor-Core.dll!UnknownFunction   
LogOutputDevice: Error: [Callstack] 0x00007fffe38a894c UnrealEditor-RenderCore.dll!UnknownFunction   
LogOutputDevice: Error: [Callstack] 0x00007fffe38ad9e4 UnrealEditor-RenderCore.dll!UnknownFunction   
LogOutputDevice: Error: [Callstack] 0x00007fffe4d5c0ad UnrealEditor-Core.dll!UnknownFunction   
LogOutputDevice: Error: [Callstack] 0x00007fffe4d535cf UnrealEditor-Core.dll!UnknownFunction   
LogOutputDevice: Error: [Callstack] 0x00007ff87367e8d7 KERNEL32.DLL!UnknownFunction   
LogOutputDevice: Error: [Callstack] 0x00007ff87564c53c ntdll.dll!UnknownFunction

I have went through the forums and tried many fixes and nothing seems to resolve it.

i even setup PSO and that didnt help.

Fixes i have tried

> [@Global Shader Map DDC Crash on Startup - 5.4.4](https://forums.unrealengine.com/t/global-shader-map-ddc-crash-on-startup-5-4-4/2027805):
>
> Everything was working fine until my GPU crashed, causing my laptop to reboot just as the editor loaded. GPU has crashed plenty of times before without issues. I’ve completely uninstalled UE 5.4 and reinstalled it. I deleted the DerivedDataCache folder in the project, though it wouldn’t matter since it was empty. I’ve deleted project intermediate files. Saw a similar issue here [Unreal engine 5.0.3 launcher stuck at 17% - General / Feedback & Requests - Epic Developer Community Forums](https://forums.unrealengine.com/t/unreal-engine-5-0-3-launcher-stuck-at-17/616722/4) but I’m…

> [@Packaged game - Missing global shader FUpsampleCS's permutation 0](https://forums.unrealengine.com/t/packaged-game-missing-global-shader-fupsamplecss-permutation-0/1904025/4):
>
> I have the same problem after transitioning my project from 5.2.1 to 5.4.2. The build completes without issues, but when I try to run the game, I get the error: [File:D:\build++UE5\Sync\Engine\Source\Runtime\Engine\Private\ShaderCompiler\ShaderCompiler.cpp] [Line: 9367] Missing global shader FUpsampleCS’s permutation 0, Please make sure cooking was successful. I’ve tried various methods, but nothing has worked so far. I went through all the maps and re-saved materials that had warnings. Tried…

> [@Packaged game - Missing global shader FUpsampleCS's permutation 0](https://forums.unrealengine.com/t/packaged-game-missing-global-shader-fupsamplecss-permutation-0/1904025/8):
>
> Do you have “cook on the fly” turned on? If so try it with the option turned off. Is shader model 6 turn on? (SM6) Perhaps try turning on NNERuntimeRDG maybe one of the plugin’s you are using is somehow interdependent with it? (if you are using any) Another possibility: run recompileshaders all from the command line. Perhaps it will force the compilation of the missing shader. Though I’ve heard it can cause freezes. Some people mention to run recompileshaders changed to mitigate the freeze.…

> [@UE 5.6.1 crash at 87% when running DX12 (works only with -dx11)](https://forums.unrealengine.com/t/ue-5-6-1-crash-at-87-when-running-dx12-works-only-with-dx11/2661920):
>
> Hi everyone, I’m running into a crash problem with Unreal Engine 5.6.1 and DirectX 12. Issue: When I try to open a project in UE 5.6.1 using the default DX12, the editor always crashes at 87% loading and show up “GPU Crashed or D3D Device Removed” . Workaround: If I add -dx11 (or -d3d11) to the Unreal shortcut, the editor works fine. I can also open UE from Epic Games Launcher or shortcut normally, but when opening a project it crashes unless I force DX11. Other versions: I tested UE 5…

---

<div class="post-metadata">

**Author:** ![3dRaven](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/3draven/32/906552_2.png) [@3dRaven](https://forums.unrealengine.com/u/3dRaven)\
**Post date:** [January 4, 2026, 11:59am UTC](https://forums.unrealengine.com/t/shipping-build-crahes-in-dx12-but-is-fine-in-dx11-ue5-4-4/2689485/2 "2026-01-04T11:59:50Z")

</div>

You could try enforcing a global shader cache recompile via the command:

r.InvalidateCachedShaders

once at the games start (probably need to save if method was triggered in ini file or a savegame parameter)

---

<div class="post-metadata">

**Author:** ![XxRajeevxX](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@XxRajeevxX](https://forums.unrealengine.com/u/XxRajeevxX)\
**Post date:** [January 4, 2026, 9:09pm UTC](https://forums.unrealengine.com/t/shipping-build-crahes-in-dx12-but-is-fine-in-dx11-ue5-4-4/2689485/3 "2026-01-04T21:09:11Z")

</div>

Hey @3dRaven Thank you for your reply.

i tried the following, with the same crash issue and the same crash log in editor.

1. Added it to Engine.ini  
[/Script/Engine.Engine]  
r.InvalidateCachedShaders=1

and the editor crashed on launch and got this error  
Fatal error: [File:D:\build\++UE5\Sync\Engine\Source\Runtime\Core\Private\HAL\ConsoleManager.cpp] [Line: 2952] Console object named ‘r.InvalidateCachedShaders’ can’t be replaced with the new one of different type!

1. Added it to Engine.ini as  
[/Script/Engine.Engine]  
+ExecCmds=r.InvalidateCachedShaders  
editor launched with the error log as usual and built a shipping build and used target line command and the shipping buuild still crashed.  
project.exe -ExecCmds=“r.InvalidateCachedShaders”

For my current version 5.4.4, i have downloded sentry and will try to see if it will out any real evidence.

if not, i have built a source engine for 5.7.1 and will move the project to the latest version, as a last resort, and enable a shipping log for the shipping build.

will let you know of the results.

let me know if there is something else i can try, before i upgrade the project to 5.7.1

---

<div class="post-metadata">

**Author:** ![XxRajeevxX](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@XxRajeevxX](https://forums.unrealengine.com/u/XxRajeevxX)\
**Post date:** [January 5, 2026, 12:58am UTC](https://forums.unrealengine.com/t/shipping-build-crahes-in-dx12-but-is-fine-in-dx11-ue5-4-4/2689485/4 "2026-01-05T00:58:11Z")

</div>

I figured out the issue and the fix for it. For anyone who may experience this in the future. Here is the issue

1. The PSO, Nanite and Anti-Aliasing were all puting a huge strain on the GPU on load. which is my my shipping build was crashing.
2. As for the error log in editor, is also the reason the shipping build was crashing  
LogOutputDevice: Error: Ensure condition failed: ShaderType::ShouldPrecachePermutation(FGlobalShaderPermutationParameters(ShaderType::GetStaticType().GetFName(), Platform, PermutationId)) != EShaderPermutationPrecacheRequest::NotUsed

how did i figure this out?

1. In your project settings\>packaging\> Include Debug Files in Shipping Builds - enable this.
2. I used Sentry ([sentry.io](http://sentry.io)) to start decoding these error codes.
3. Built a developer build and created a shortcut for the .exe file and then in the shortcut’s properties, find the “Target:” at the end, after “.exe” add in the following, with no quotes  
”-dx12 -gpucrashdebugging -d3ddebug -log”
4. Run the game and the logs will reveal the issue with your GPU crashing when PSO, Nanite and Antialiasing are competing - I used sentry to debug the errors which was provided by the log.

The fix  
Go to your DefaultEngine.Ini

1. Under the [/Script/Engine.RendererSettings], Add  
r.Nanite.Streaming.AsyncCompute=1  
This tells Unreal to stream Nanite geometry on a separate GPU lane instead of blocking rendering.

r.AntiAliasingMethod=2  
this sets the AA to TAA, which will eliminate the “EShaderPermutationPrecacheRequest::NotUsed” error

r.TemporalAA.Upsampling=0  
r.ScreenPercentage=100  
r.TextureStreaming=true  
r.Streaming.PoolSize=1000  
I am enabling the Texture streaming and set it to a moderate 1gb of VRAM. modern GPUs comes with 6gb or more, so 1gb is a good start to process textures

Not sure if the following helped, but is a safe use  
r.TemporalAA.HistoryScreenPercentage=100  
r.TSR.History.ScreenPercentage=100  
r.TemporalAACurrentFrameWeight=0.2  
r.TemporalAASamples=4  
r.DefaultFeature.MotionBlur=False

then i created a array with the following

[SystemSettings]  
r.TSR.AsyncCompute=0  
r.TSR.RejectShading=1  
r.TSR.ShadingRejection.Flickering=0  
r.TSR.ShadingRejection.Antialiasing=0

r.D3D12.GPUTimeout=1  
r.D3D12.PSO.DiskCache=1  
r.D3D12.PSO.DriverOptimizedDiskCache=1  
r.D3D12.AsyncPipelineCompile=1

r.ShaderPipelineCache.Enabled=1  
r.ShaderPipelineCache.SaveUserCache=1  
r.ShaderPipelineCache.LoadUserCache=1  
r.ShaderPipelineCache.StartupMode=3

r.PSOPrecache.Enable=1  
r.PSOPrecache.Validation=0

[DevOptions.Shaders]  
NeedsShaderStableKeys=true

again, i only had this issue in while using DX12 and TSR. DX11 launched the game with no issues, but DX11 with TAA has some serious ghosting issue, which I was not a fan of and refused to ship a game, which has that issue.

another line to check is the following, if you are using DX12

[/Script/WindowsTargetPlatform.WindowsTargetSettings]  
DefaultGraphicsRHI=DefaultGraphicsRHI\_DX12  
-D3D12TargetedShaderFormats=PCD3D\_SM5  
+D3D12TargetedShaderFormats=PCD3D\_SM5  
+D3D12TargetedShaderFormats=PCD3D\_SM6  
-D3D11TargetedShaderFormats=PCD3D\_SM5  
+D3D11TargetedShaderFormats=PCD3D\_SM5

hopefully this helps you out!
