Description

It doesn't happen with the DX11 RHI

Steps to Reproduce
  • open project [Link Removed]
  • make sure to use -dx12
  • press play
  • in the UMG edit box in the upper corner, enter 12
  • this will instantiate 12 models
    -> assert after a couple of frames
Callstack

Assertion failed: ActiveAllocatedElementCount <= GetQueryHeapCount() [Link Removed] [Line: 349]

UE4Editor_Core!FDebug::CheckVerifyFailedImpl() [d:\thomas.convard_rdu-wd-10724-release-4.22\engine\source\runtime\core\private\misc\assertionmacros.cpp:418]
UE4Editor_D3D12RHI!FD3D12QueryHeap::EndQueryBatchAndResolveQueryData() [d:\thomas.convard_rdu-wd-10724-release-4.22\engine\source\runtime\d3d12rhi\private\d3d12query.cpp:349]
UE4Editor_D3D12RHI!FD3D12CommandContext::RHIEndRenderPass() [d:\thomas.convard_rdu-wd-10724-release-4.22\engine\source\runtime\d3d12rhi\private\d3d12commandcontext.h:338]
UE4Editor_RHI!FRHICommandListExecutor::ExecuteInner_DoExecute() [d:\thomas.convard_rdu-wd-10724-release-4.22\engine\source\runtime\rhi\private\rhicommandlist.cpp:325]
UE4Editor_RHI!FExecuteRHIThreadTask::DoTask() [d:\thomas.convard_rdu-wd-10724-release-4.22\engine\source\runtime\rhi\private\rhicommandlist.cpp:384]
UE4Editor_RHI!TGraphTask<FExecuteRHIThreadTask>::ExecuteTask() [d:\thomas.convard_rdu-wd-10724-release-4.22\engine\source\runtime\core\public\async\taskgraphinterfaces.h:842]
UE4Editor_Core!FNamedTaskThread::ProcessTasksNamedThread() [d:\thomas.convard_rdu-wd-10724-release-4.22\engine\source\runtime\core\private\async\taskgraph.cpp:686]
UE4Editor_Core!FNamedTaskThread::ProcessTasksUntilQuit() [d:\thomas.convard_rdu-wd-10724-release-4.22\engine\source\runtime\core\private\async\taskgraph.cpp:582]
UE4Editor_RenderCore!FRHIThread::Run() [d:\thomas.convard_rdu-wd-10724-release-4.22\engine\source\runtime\rendercore\private\renderingthread.cpp:282]
UE4Editor_Core!FRunnableThreadWin::Run() [d:\thomas.convard_rdu-wd-10724-release-4.22\engine\source\runtime\core\private\windows\windowsrunnablethread.cpp:96]

Have Comments or More Details?

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

0
Login to Vote

Fixed
ComponentUE - Rendering Architecture - RHI
Affects Versions4.22
Target Fix4.22.1
Fix Commit5834471
Main Commit5834472
CreatedMar 8, 2019
ResolvedApr 12, 2019
UpdatedOct 21, 2019
View Jira Issue