Description

This is a trending crash in the 4.17 release. Users have not provided descriptions of their actions when the crash occurred.

Source Context

  61       	// If a resource array was provided for the resource, create the resource pre-populated
   62       	D3D11_SUBRESOURCE_DATA InitData;
   63       	D3D11_SUBRESOURCE_DATA* pInitData = NULL;
   64       	if(CreateInfo.ResourceArray)
   65       	{
   66       		check(Size == CreateInfo.ResourceArray->GetResourceDataSize());
   67 ***** 		InitData.pSysMem = CreateInfo.ResourceArray->GetResourceData();
   68       		InitData.SysMemPitch = Size;
   69       		InitData.SysMemSlicePitch = 0;
   70       		pInitData = &InitData;
   71       	}
Steps to Reproduce

repro steps currently unknown

Callstack
Assertion failed: Size == CreateInfo.ResourceArray->GetResourceDataSize() 
[File:D:\Build\++UE4+Release-4.17+Compile\Sync\Engine\Source\Runtime\Windows\D3D11RHI\Private\D3D11VertexBuffer.cpp] [Line: 67]

UE4Editor_D3D11RHI!FD3D11DynamicRHI::RHICreateVertexBuffer() [d3d11vertexbuffer.cpp:68]
UE4Editor_RHI!FDynamicRHI::CreateVertexBuffer_RenderThread() [rhicommandlist.cpp:1722]
UE4Editor_RHI!FRHICommandListImmediate::CreateVertexBuffer() [rhicommandlist.h:2774]
UE4Editor_Engine!RHICreateVertexBuffer() [rhicommandlist.h:3608]
UE4Editor_Engine!FStaticMeshInstanceBuffer::InitRHI() [instancedstaticmesh.cpp:249]
UE4Editor_RenderCore!FRenderResource::InitResource() [renderresource.cpp:33]
UE4Editor_RenderCore!TGraphTask<`BeginInitResource'::`2'::EURCMacro_InitCommand>::ExecuteTask() [taskgraphinterfaces.h:784]
UE4Editor_Core!FNamedTaskThread::ProcessTasksNamedThread() [taskgraph.cpp:650]
UE4Editor_Core!FNamedTaskThread::ProcessTasksUntilQuit() [taskgraph.cpp:559]
UE4Editor_RenderCore!RenderingThreadMain() [renderingthread.cpp:325]
UE4Editor_RenderCore!FRenderingThread::Run() [renderingthread.cpp:459]
UE4Editor_Core!FRunnableThreadWin::Run() [windowsrunnablethread.cpp:76]

Have Comments or More Details?

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

6
Login to Vote

Cannot Reproduce
ComponentUE - Graphics Features
Affects Versions4.174.184.19
Target Fix4.21
CreatedAug 22, 2017
ResolvedSep 25, 2018
UpdatedDec 11, 2018