N0TS0B4D
(N0TS0B4D)
October 21, 2022, 9:57pm
1
Hi,
I installed both 5.0.3 and 5.1.0 preview and they each crash during various points of shader compiling.
5.0.3 will initially crash trying to load dxil.dll. If I copy that from directx’s redist package it goes further but then i have a world grid shader missing error.
5.1.0 will just throw a random shadercompiler crash (Fatal error: [File:D:\build++UE5\Sync\Engine\Source\Runtime\Engine\Private\ShaderCompiler\ShaderCompiler.cpp] [Line: 1227] ShaderCompileWorker crashed! Fatal error!)
Any help is welcome, thanks!
N0TS0B4D
(N0TS0B4D)
October 22, 2022, 10:53pm
2
So I’ve grabbed UE source and when I build from source (5.0.3 branch) everything works normally so I guess there is something different in the release binaries.
ATomCZ1
(ATomCZ1)
April 21, 2023, 4:47pm
3
I have the same on the same GPU. I really don’t want to build it itself.
But it started with 5.1.1 update, before it was not happening.
LogPlayLevel: Error: UAT: LogThreadingWindows: Error: Runnable thread ShaderCompilingThread crashed.
LogPlayLevel: Error: UAT: LogWindows: Error: begin: stack for UAT
LogPlayLevel: Error: UAT: LogWindows: Error: === Critical error: ===
LogPlayLevel: Error: UAT: LogWindows: Error:
LogPlayLevel: Error: UAT: LogWindows: Error: Fatal error: [File:D:\build\++UE5\Sync\Engine\Source\Runtime\Engine\Private\ShaderCompiler\ShaderCompiler.cpp] [Line: 1227]
LogPlayLevel: Error: UAT: LogWindows: Error: ShaderCompileWorker crashed!
LogPlayLevel: Error: UAT: LogWindows: Error:
LogPlayLevel: Error: UAT: LogWindows: Error: Fatal error!
LogPlayLevel: Error: UAT: LogWindows: Error:
LogPlayLevel: Error: UAT: LogWindows: Error:
LogPlayLevel: Error: UAT: LogWindows: Error:
LogPlayLevel: Error: UAT: LogWindows: Error:
LogPlayLevel: Error: UAT: LogWindows: Error: [Callstack] 0x00007ffd72cbc754 UnrealEditor-Engine.dll!UnknownFunction []
LogPlayLevel: Error: UAT: LogWindows: Error: [Callstack] 0x00007ffd72cbecb6 UnrealEditor-Engine.dll!UnknownFunction []
LogPlayLevel: Error: UAT: LogWindows: Error: [Callstack] 0x00007ffd72caa9b7 UnrealEditor-Engine.dll!UnknownFunction []
LogPlayLevel: Error: UAT: LogWindows: Error: [Callstack] 0x00007ffd72c9dce2 UnrealEditor-Engine.dll!UnknownFunction []
LogPlayLevel: Error: UAT: LogWindows: Error: [Callstack] 0x00007ffd72cca64f UnrealEditor-Engine.dll!UnknownFunction []
LogPlayLevel: Error: UAT: LogWindows: Error: [Callstack] 0x00007ffd72ca8a92 UnrealEditor-Engine.dll!UnknownFunction []
LogPlayLevel: Error: UAT: LogWindows: Error: [Callstack] 0x00007ffd72cd3eb3 UnrealEditor-Engine.dll!UnknownFunction []
LogPlayLevel: Error: UAT: LogWindows: Error: [Callstack] 0x00007ffd76545342 UnrealEditor-Core.dll!UnknownFunction []
LogPlayLevel: Error: UAT: LogWindows: Error: [Callstack] 0x00007ffd7653d230 UnrealEditor-Core.dll!UnknownFunction []
LogPlayLevel: Error: UAT: LogWindows: Error: [Callstack] 0x00007ffe1778269d KERNEL32.DLL!UnknownFunction []
LogPlayLevel: Error: UAT: LogWindows: Error: [Callstack] 0x00007ffe18faa9f8 ntdll.dll!UnknownFunction []
LogPlayLevel: Error: UAT: LogWindows: Error:
LogPlayLevel: Error: UAT: LogWindows: Error: Crash in runnable thread ShaderCompilingThread
LogPlayLevel: Error: UAT: LogWindows: Error: end: stack for UAT
Updating just to say this is still happening to me in the 5.4.3 Meta branch.
Worth noting that this probably has nothing to do with GPU, as compiling shaders is cpu based.
Also - subsequent repackages eventually works for me. So if you get the crash, just try packaging again.
I think it is some kind of instability in the ShaderCompiler.