Description

Editor is crashing with d3ddebug in ray tracing

Does not occur in dx12 without ray tracing
Does not occur on a desktop PC with a 2080
Does not occur without d3ddebug

Steps to Reproduce
  1. Open a blueprint project with Starter Content on an RTX-equipped laptop
  2. Enable Ray Tracing in the project settings
  3. Close the editor and start with -dx12 -d3ddebug
  4. Select the project in the project browser

Result: Editor crash
Frequency: 4/4

Callstack
=== Critical error: ===

Fatal error!

Unhandled Exception: 0x0000087a

[Callstack] 0x00007ffebf9c5299 KERNELBASE.dll!UnknownFunction []
[Callstack] 0x00007ffe629a358e DXGIDebug.dll!UnknownFunction []
[Callstack] 0x00007ffe5f354ed7 D3D12SDKLayers.dll!UnknownFunction []
[Callstack] 0x00007ffe5f2a27ed D3D12SDKLayers.dll!UnknownFunction []
[Callstack] 0x00007ffe5f2a26b7 D3D12SDKLayers.dll!UnknownFunction []
[Callstack] 0x00007ffe5f2a72d9 D3D12SDKLayers.dll!UnknownFunction []
[Callstack] 0x00007ffe5f329d8f D3D12SDKLayers.dll!UnknownFunction []
[Callstack] 0x00007ffe5f312f79 D3D12SDKLayers.dll!UnknownFunction []
[Callstack] 0x00007ffe5f331269 D3D12SDKLayers.dll!UnknownFunction []
[Callstack] 0x00007ffe5f325560 D3D12SDKLayers.dll!UnknownFunction []
[Callstack] 0x00007ffe5f313552 D3D12SDKLayers.dll!UnknownFunction []
[Callstack] 0x00007ffe5f325f7a D3D12SDKLayers.dll!UnknownFunction []
[Callstack] 0x00007ffe6286cdc4 UE4Editor-D3D12RHI.dll!FD3D12CommandListHandle::FlushResourceBarriers() [d:\build\++ue4\sync\engine\source\runtime\d3d12rhi\private\d3d12commandlist.h:562]
[Callstack] 0x00007ffe628de97b UE4Editor-D3D12RHI.dll!FD3D12CommandContext::RHICopyBufferRegions() [d:\build\++ue4\sync\engine\source\runtime\d3d12rhi\private\d3d12vertexbuffer.cpp:259]
[Callstack] 0x00007ffeada18fa2 UE4Editor-RHI.dll!FRHICommandCopyBufferRegions::Execute() [d:\build\++ue4\sync\engine\source\runtime\rhi\public\rhicommandlistcommandexecutes.inl:553]
[Callstack] 0x00007ffeada1e8e0 UE4Editor-RHI.dll!FRHICommandListExecutor::ExecuteInner_DoExecute() [d:\build\++ue4\sync\engine\source\runtime\rhi\private\rhicommandlist.cpp:325]
[Callstack] 0x00007ffeada11519 UE4Editor-RHI.dll!FExecuteRHIThreadTask::DoTask() [d:\build\++ue4\sync\engine\source\runtime\rhi\private\rhicommandlist.cpp:384]
[Callstack] 0x00007ffeada1fe50 UE4Editor-RHI.dll!TGraphTask<FExecuteRHIThreadTask>::ExecuteTask() [d:\build\++ue4\sync\engine\source\runtime\core\public\async\taskgraphinterfaces.h:842]
[Callstack] 0x00007ffe6ea722d8 UE4Editor-Core.dll!FNamedTaskThread::ProcessTasksNamedThread() [d:\build\++ue4\sync\engine\source\runtime\core\private\async\taskgraph.cpp:686]
[Callstack] 0x00007ffe6ea72563 UE4Editor-Core.dll!FNamedTaskThread::ProcessTasksUntilQuit() [d:\build\++ue4\sync\engine\source\runtime\core\private\async\taskgraph.cpp:582]
[Callstack] 0x00007ffeab0dc101 UE4Editor-RenderCore.dll!FRHIThread::Run() [d:\build\++ue4\sync\engine\source\runtime\rendercore\private\renderingthread.cpp:282]
[Callstack] 0x00007ffe6ee64b0f UE4Editor-Core.dll!FRunnableThreadWin::Run() [d:\build\++ue4\sync\engine\source\runtime\core\private\windows\windowsrunnablethread.cpp:96]
[Callstack] 0x00007ffe6ee60877 UE4Editor-Core.dll!FRunnableThreadWin::GuardedRun() [d:\build\++ue4\sync\engine\source\runtime\core\private\windows\windowsrunnablethread.cpp:53]
[Callstack] 0x00007ffec0b97e94 KERNEL32.DLL!UnknownFunction []
[Callstack] 0x00007ffec2de7ad1 ntdll.dll!UnknownFunction []

Crash in runnable thread RHIThread

Have Comments or More Details?

There's no existing public thread on this issue, so head over to Questions & Answers just mention UE-74076 in the post.

6
Login to Vote

Fixed
ComponentUE - Graphics Features - Lumen
Affects Versions4.22.1
Target Fix4.22.2
Fix Commit6401338
Main Commit6411805
CreatedMay 1, 2019
ResolvedMay 10, 2019
UpdatedSep 19, 2021
View Jira Issue