Description

Animating a HISM along a spline when many other HISMs are present will result in a crash in 4.22.

Confirmed in 4.23 MAIN @ CL 5291468

Steps to Reproduce

4.21 Sample Project Attached (Press 'F' to play timeline animation)

  1. Create an Actor and add HISM and Spline Component
  2. Setup Logic to spawn a couple hundred HISMs and animate one of them along a spline (Image Attached - Timeline float output is from 0 to 1)
  3. Play timeline

Result: Crash

 

Callstack

Assertion failed: PlatformNeedsExtraDeletionLatency() || (NumRefs.GetValue() == 0 && (CurrentlyDeleting == this || bDoNotDeferDelete || Bypass())) [Link Removed] [Line: 40]

UE4Editor_Core!FDebug::CheckVerifyFailedImpl() [d:\build\++ue4\sync\engine\source\runtime\core\private\misc\assertionmacros.cpp:418]
UE4Editor_RHI!FRHIResource::~FRHIResource() [d:\build\++ue4\sync\engine\source\runtime\rhi\public\rhiresources.h:40]
UE4Editor_D3D11RHI!FD3D11UnorderedAccessView::`scalar deleting destructor'()
UE4Editor_D3D11RHI!FD3D11DynamicRHI::InternalSetShaderResourceView<0>() [d:\build\++ue4\sync\engine\source\runtime\windows\d3d11rhi\private\d3d11rhi.cpp:239]
UE4Editor_D3D11RHI!FD3D11DynamicRHI::RHISetShaderResourceViewParameter() [d:\build\++ue4\sync\engine\source\runtime\windows\d3d11rhi\private\d3d11commands.cpp:520]
UE4Editor_RHI!FRHICommandListExecutor::ExecuteInner_DoExecute() [d:\build\++ue4\sync\engine\source\runtime\rhi\private\rhicommandlist.cpp:325]
UE4Editor_RHI!FRHICommandListExecutor::ExecuteInner() [d:\build\++ue4\sync\engine\source\runtime\rhi\private\rhicommandlist.cpp:592]
UE4Editor_RHI!FRHICommandListExecutor::ExecuteList() [d:\build\++ue4\sync\engine\source\runtime\rhi\private\rhicommandlist.cpp:615]
UE4Editor_RHI!FRHICommandListBase::~FRHICommandListBase() [d:\build\++ue4\sync\engine\source\runtime\rhi\private\rhicommandlist.cpp:845]
UE4Editor_RHI!FRHICommandWaitForAndSubmitSubList::Execute() [d:\build\++ue4\sync\engine\source\runtime\rhi\private\rhicommandlist.cpp:1040]
UE4Editor_RHI!FRHICommand<FRHICommandWaitForAndSubmitSubList>::ExecuteAndDestruct() [d:\build\++ue4\sync\engine\source\runtime\rhi\public\rhicommandlist.h:679]
UE4Editor_RHI!FRHICommandListExecutor::ExecuteInner_DoExecute() [d:\build\++ue4\sync\engine\source\runtime\rhi\private\rhicommandlist.cpp:325]
UE4Editor_RHI!FRHICommandListExecutor::ExecuteInner() [d:\build\++ue4\sync\engine\source\runtime\rhi\private\rhicommandlist.cpp:592]
UE4Editor_RHI!FRHICommandListExecutor::ExecuteList() [d:\build\++ue4\sync\engine\source\runtime\rhi\private\rhicommandlist.cpp:642]
UE4Editor_RHI!FDynamicRHI::LockVertexBuffer_RenderThread() [d:\build\++ue4\sync\engine\source\runtime\rhi\private\rhicommandlist.cpp:1978]
UE4Editor_Renderer!FDeferredShadingSceneRenderer::ComputeLightGrid() [d:\build\++ue4\sync\engine\source\runtime\renderer\private\lightgridinjection.cpp:649]
UE4Editor_Renderer!FDeferredShadingSceneRenderer::Render() [d:\build\++ue4\sync\engine\source\runtime\renderer\private\deferredshadingrenderer.cpp:1327]
UE4Editor_Renderer!RenderViewFamily_RenderThread() [d:\build\++ue4\sync\engine\source\runtime\renderer\private\scenerendering.cpp:3134]
UE4Editor_Renderer!TGraphTask<TEnqueueUniqueRenderCommandType<`FRendererModule::BeginRenderingViewFamily'::`27'::FDrawSceneCommandName,<lambda_ef703a768ebf46074e6be04f91ae8efa> > >::ExecuteTask() [d:\build\++ue4\sync\engine\source\runtime\core\public\async\taskgraphinterfaces.h:842]
UE4Editor_Core!FNamedTaskThread::ProcessTasksNamedThread() [d:\build\++ue4\sync\engine\source\runtime\core\private\async\taskgraph.cpp:686]
UE4Editor_Core!FNamedTaskThread::ProcessTasksUntilQuit() [d:\build\++ue4\sync\engine\source\runtime\core\private\async\taskgraph.cpp:582]
UE4Editor_RenderCore!RenderingThreadMain() [d:\build\++ue4\sync\engine\source\runtime\rendercore\private\renderingthread.cpp:333]
UE4Editor_RenderCore!FRenderingThread::Run() [d:\build\++ue4\sync\engine\source\runtime\rendercore\private\renderingthread.cpp:464]
UE4Editor_Core!FRunnableThreadWin::Run() [d:\build\++ue4\sync\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-71028 in the post.

4
Login to Vote

Fixed
ComponentUE - Rendering - RHI
Affects Versions4.224.23
Target Fix4.22
Fix Commit5348907
Main Commit5364755
Release Commit5348907
CreatedMar 5, 2019
ResolvedMar 8, 2019
UpdatedApr 5, 2019