(Optional) Clean + build of UE4 Development Editor Win64
In ShooterGame DefaultEngine.ini, set:
[/Script/WindowsTargetPlatform.WindowsTargetSettings]
DefaultGraphicsRHI=DefaultGraphicsRHI_DX12
[/Script/Engine.RendererSettings]
r.RayTracing=True
Run UE4Editor-Cmd.exe [Link Removed] -run=Cook -TargetPlatform=WindowsNoEditor -fileopenlog -unversioned -iterate -iterateshash -AllowCommandletRendering -stdout -CrashForUAT -unattended -NoLogTimes
Loads fine. Open ShooterGame in same UE4 build + wait for ShooterGame shaders to complete compile. Close UE4.
Re-run UE4Editor-Cmd.exe [Link Removed] -run=Cook -TargetPlatform=WindowsNoEditor -fileopenlog -unversioned -iterate -iterateshash -AllowCommandletRendering -stdout -CrashForUAT -unattended -NoLogTimes
Should crash. 2 different errors 1. See callstack, 2. "LogD3D12RHI: Error: Failed to choose a D3D12 Adapter."
LogWindows: Error: === Critical error: ===
LogWindows: Error:
LogWindows: Error: Assertion failed: GGlobalShaderMap[Platform] [Link Removed] [Line: 260]
LogWindows: Error:
LogWindows: Error:
LogWindows: Error:
LogWindows: Error: [Callstack] 0x00007fff39294b59 KERNELBASE.dll!UnknownFunction []
LogWindows: Error: [Callstack] 0x00007ffe82fba1c6 UE4Editor-Core.dll!ReportAssert() [E:\Unreal\UE4_Release-4.26\Engine\Source\Runtime\Core\Private\Windows\WindowsPlatformCrashContext.cpp:1616]
LogWindows: Error: [Callstack] 0x00007ffe82fbd988 UE4Editor-Core.dll!FWindowsErrorOutputDevice::Serialize() [E:\Unreal\UE4_Release-4.26\Engine\Source\Runtime\Core\Private\Windows\WindowsErrorOutputDevice.cpp:78]
LogWindows: Error: [Callstack] 0x00007ffe82cce2ad UE4Editor-Core.dll!FOutputDevice::LogfImpl() [E:\Unreal\UE4_Release-4.26\Engine\Source\Runtime\Core\Private\Misc\OutputDevice.cpp:61]
LogWindows: Error: [Callstack] 0x00007ffe82c64a45 UE4Editor-Core.dll!AssertFailedImplV() [E:\Unreal\UE4_Release-4.26\Engine\Source\Runtime\Core\Private\Misc\AssertionMacros.cpp:104]
LogWindows: Error: [Callstack] 0x00007ffe82c66b00 UE4Editor-Core.dll!FDebug::CheckVerifyFailedImpl() [E:\Unreal\UE4_Release-4.26\Engine\Source\Runtime\Core\Private\Misc\AssertionMacros.cpp:461]
LogWindows: Error: [Callstack] 0x00007ffeda5e4b12 UE4Editor-RenderCore.dll!GetGlobalShaderMap() [E:\Unreal\UE4_Release-4.26\Engine\Source\Runtime\RenderCore\Private\GlobalShader.cpp:260]
LogWindows: Error: [Callstack] 0x00007ffe579f810a UE4Editor-D3D12RHI.dll!FD3D12BasicRayTracingPipeline::FD3D12BasicRayTracingPipeline() [E:\Unreal\UE4_Release-4.26\Engine\Source\Runtime\D3D12RHI\Private\D3D12RayTracing.cpp:2149]
LogWindows: Error: [Callstack] 0x00007ffe57a21df0 UE4Editor-D3D12RHI.dll!FD3D12Device::InitRayTracing() [E:\Unreal\UE4_Release-4.26\Engine\Source\Runtime\D3D12RHI\Private\D3D12RayTracing.cpp:2198]
LogWindows: Error: [Callstack] 0x00007ffe579cf8c8 UE4Editor-D3D12RHI.dll!FD3D12Adapter::InitializeRayTracing() [E:\Unreal\UE4_Release-4.26\Engine\Source\Runtime\D3D12RHI\Private\D3D12Adapter.cpp:839]
LogWindows: Error: [Callstack] 0x00007ffe57a6ac0a UE4Editor-D3D12RHI.dll!FD3D12DynamicRHI::PostInit() [E:\Unreal\UE4_Release-4.26\Engine\Source\Runtime\D3D12RHI\Private\Windows\WindowsD3D12Device.cpp:800]
LogWindows: Error: [Callstack] 0x00007ff7633d8689 UE4Editor-Cmd.exe!FEngineLoop::PreInitPostStartupScreen() [E:\Unreal\UE4_Release-4.26\Engine\Source\Runtime\Launch\Private\LaunchEngineLoop.cpp:3130]
LogWindows: Error: [Callstack] 0x00007ff7633d0f0d UE4Editor-Cmd.exe!GuardedMain() [E:\Unreal\UE4_Release-4.26\Engine\Source\Runtime\Launch\Private\Launch.cpp:127]
LogWindows: Error: [Callstack] 0x00007ff7633d126a UE4Editor-Cmd.exe!GuardedMainWrapper() [E:\Unreal\UE4_Release-4.26\Engine\Source\Runtime\Launch\Private\Windows\LaunchWindows.cpp:137]
LogWindows: Error: [Callstack] 0x00007ff7633e521d UE4Editor-Cmd.exe!WinMain() [E:\Unreal\UE4_Release-4.26\Engine\Source\Runtime\Launch\Private\Windows\LaunchWindows.cpp:268]
LogWindows: Error: [Callstack] 0x00007ff7633e72c2 UE4Editor-Cmd.exe!__scrt_common_main_seh() [d:\A01\_work\6\s\src\vctools\crt\vcstartup\src\startup\exe_common.inl:288]
LogWindows: Error: [Callstack] 0x00007fff3aaf7034 KERNEL32.DLL!UnknownFunction []
LogWindows: Error: [Callstack] 0x00007fff3b522651 ntdll.dll!UnknownFunction []
LogWindows: Error:
LogWindows: Error: end: stack for UAT
There's no existing public thread on this issue, so head over to Questions & Answers just mention UE-115293 in the post.
0 |
Component | UE - Graphics Features |
---|---|
Affects Versions | 4.26.2 |
Created | May 10, 2021 |
---|---|
Resolved | Oct 6, 2021 |
Updated | Oct 7, 2021 |