Description

A Static Mesh asset will trigger an ensure when generating building the ray tracing acceleration structure on AMD GPUs.

Steps to Reproduce

1. Download the attached test project and open, with the debugger attached.
2. Find the Static Mesh "/All/EngineData/Plugins/NiagaraFluids/Meshes/plane512" in the Content Browser.
3. Add this Static Mesh to the world.
4. Observe the ensure.

Callstack

> UnrealEditor-D3D12RHI.dll!FD3D12RayTracingGeometry::CompactAccelerationStructure::__l2::<lambda_1>::operator()() Line 3456 C++
UnrealEditor-D3D12RHI.dll!FD3D12RayTracingGeometry::CompactAccelerationStructure(FD3D12CommandContext & CommandContext, unsigned int InGPUIndex, unsigned __int64 InSizeAfterCompaction) Line 3457 C++
UnrealEditor-D3D12RHI.dll!FD3D12RayTracingCompactionRequestHandler::Update(FD3D12CommandContext & Context) Line 783 C++
UnrealEditor-D3D12RHI.dll!FD3D12DynamicRHI::RHIEndFrame_RenderThread::__l2::<lambda_2>::operator()(const FD3D12ContextArray & Contexts) Line 541 C++
UnrealEditor-D3D12RHI.dll!FRHICommandListBase::EnqueueLambdaMultiPipe<`FD3D12DynamicRHI::RHIEndFrame_RenderThread'::`2'::<lambda_2>>(ERHIPipeline Pipelines, FRHICommandListBase::EThreadFence ThreadFence, const wchar_t * LambdaName, FD3D12DynamicRHI::RHIEndFrame_RenderThread::__l2::<lambda_2> && Lambda) Line 632 C++
UnrealEditor-D3D12RHI.dll!FD3D12DynamicRHI::RHIEndFrame_RenderThread(FRHICommandListImmediate & RHICmdList) Line 525 C++
UnrealEditor.exe!EndFrameRenderThread(FRHICommandListImmediate & RHICmdList, unsigned __int64 CurrentFrameCounter) Line 5581 C++
UnrealEditor.exe!FEngineLoop::Tick() Line 6153 C++
[Inline Frame] UnrealEditor.exe!EngineTick() Line 69 C++
UnrealEditor.exe!GuardedMain(const wchar_t * CmdLine) Line 188 C++
UnrealEditor.exe!LaunchWindowsStartup(HINSTANCE__ * hInInstance, HINSTANCE__ * hPrevInstance, char * __formal, int nCmdShow, const wchar_t * CmdLine) Line 266 C++
UnrealEditor.exe!WinMain(HINSTANCE__ * hInInstance, HINSTANCE__ * hPrevInstance, char * pCmdLine, int nCmdShow) Line 317 C++
[External Code]

Have Comments or More Details?

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

0
Login to Vote

Unresolved
Affects Versions5.55.5.3
CreatedFeb 4, 2025
UpdatedFeb 4, 2025
View Jira Issue