Description

The Niagara viewport will crash when rendering opaque sprites if Mobile Multi View and the mobile preview are enabled.

Additive materials do no crash, and if the viewport is not set to lit it does not appear to crash.

Adding the Niagara system to the level editor does not appear to crash the engine either.

Steps to Reproduce
  1. Open a third person project
  2. Open the project settings and enable Mobile Multi-View under Engine > Rendering > VR
  3. Create a new Niagara system based on the fountain template
  4. In the level editor go to Settings > Preview Platform and select Android Vulkan Mobile
  5. Open the fountain system and see that it works as expected
  6. Assign an opaque material to the sprite renderer, and open the system again

RESULT

The engine crashes

Callstack

Assertion failed: CurrentGPUVirtualAddress != 0 [Link Removed] [Line: 659] 

 

0x00007ff9dc0d2f0b UnrealEditor-D3D12RHI.dll!FD3D12DescriptorCache::SetRootConstantBuffers() [D:\_Release5.4\Engine\Source\Runtime\D3D12RHI\Private\D3D12DescriptorCache.cpp:659]
0x00007ff9dc161b97 UnrealEditor-D3D12RHI.dll!FD3D12StateCache::ApplyState() [D:\_Release5.4\Engine\Source\Runtime\D3D12RHI\Private\D3D12StateCache.cpp:588]
0x00007ff9dc0d4d0e UnrealEditor-D3D12RHI.dll!FD3D12CommandContext::SetupDraw() [D:\_Release5.4\Engine\Source\Runtime\D3D12RHI\Private\D3D12Commands.cpp:1586]
0x00007ff9dc0c1964 UnrealEditor-D3D12RHI.dll!FD3D12CommandContext::RHIDrawIndexedPrimitive() [D:\_Release5.4\Engine\Source\Runtime\D3D12RHI\Private\D3D12Commands.cpp:1685]
0x00007ffa1f47fd14 UnrealEditor-RHI.dll!FRHICommandDrawIndexedPrimitive::Execute() [D:\_Release5.4\Engine\Source\Runtime\RHI\Public\RHICommandListCommandExecutes.inl:159]
0x00007ff9e1ef4033 UnrealEditor-Renderer.dll!FRHICommand<FRHICommandDrawIndexedPrimitive,FRHICommandDrawIndexedPrimitiveString1518>::ExecuteAndDestruct() [D:\_Release5.4\Engine\Source\Runtime\RHI\Public\RHICommandList.h:1295]
0x00007ffa1f4807b6 UnrealEditor-RHI.dll!FRHICommandListBase::Execute() [D:\_Release5.4\Engine\Source\Runtime\RHI\Private\RHICommandList.cpp:477]
0x00007ffa1f46bfee UnrealEditor-RHI.dll!`FRHICommandListImmediate::QueueAsyncCommandListSubmit'::`50'::<lambda_5>::operator()() [D:\_Release5.4\Engine\Source\Runtime\RHI\Private\RHICommandList.cpp:684]
0x00007ffa1f484ad7 UnrealEditor-RHI.dll!TRHILambdaCommand<FRHICommandListImmediate,`FRHICommandListImmediate::QueueAsyncCommandListSubmit'::`50'::<lambda_5> >::ExecuteAndDestruct() [D:\_Release5.4\Engine\Source\Runtime\RHI\Public\RHICommandList.h:471]
0x00007ffa1f4807b6 UnrealEditor-RHI.dll!FRHICommandListBase::Execute() [D:\_Release5.4\Engine\Source\Runtime\RHI\Private\RHICommandList.cpp:477]
0x00007ffa1f46b7db UnrealEditor-RHI.dll!`FRHICommandListImmediate::ExecuteAndReset'::`35'::<lambda_4>::operator()() [D:\_Release5.4\Engine\Source\Runtime\RHI\Private\RHICommandList.cpp:788]
0x00007ffa1f48646f UnrealEditor-RHI.dll!TGraphTask<TFunctionGraphTaskImpl<void __cdecl(void),0> >::ExecuteTask() [D:\_Release5.4\Engine\Source\Runtime\Core\Public\Async\TaskGraphInterfaces.h:1235]
0x00007ff9fa8bc74a UnrealEditor-Core.dll!FNamedTaskThread::ProcessTasksNamedThread() [D:\_Release5.4\Engine\Source\Runtime\Core\Private\Async\TaskGraph.cpp:760]
0x00007ff9fa8bcdee UnrealEditor-Core.dll!FNamedTaskThread::ProcessTasksUntilQuit() [D:\_Release5.4\Engine\Source\Runtime\Core\Private\Async\TaskGraph.cpp:651]
0x00007ffa0179676d UnrealEditor-RenderCore.dll!FRHIThread::Run() [D:\_Release5.4\Engine\Source\Runtime\RenderCore\Private\RenderingThread.cpp:330]
0x00007ff9faefa01d UnrealEditor-Core.dll!FRunnableThreadWin::Run() [D:\_Release5.4\Engine\Source\Runtime\Core\Private\Windows\WindowsRunnableThread.cpp:149]
0x00007ff9faeed9e7 UnrealEditor-Core.dll!FRunnableThreadWin::GuardedRun() [D:\_Release5.4\Engine\Source\Runtime\Core\Private\Windows\WindowsRunnableThread.cpp:79]
0x00007ffaaff67374 KERNEL32.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-224747 in the post.

0
Login to Vote

Backlogged
ComponentUE - Niagara
Affects Versions5.45.5
Target Fix5.6
CreatedSep 18, 2024
ResolvedSep 19, 2024
UpdatedSep 27, 2024
View Jira Issue