Developer Notes

If you experience this crash, please run the engine with the -d3debug command line to get additional information in your logs, and then share the log file (after you crash again) with Epic in a bug report.

Description

This is a common crash affecting users since at least the 4.14 release. It was previously associated with UE-30488, however that has been marked as fixed.

Source Context

 221       void VerifyD3D11Result(HRESULT D3DResult,const ANSICHAR* Code,const ANSICHAR* Filename,uint32 Line, ID3D11Device* Device)
  222       {
  223       	check(FAILED(D3DResult));
  224       
  225       	const FString& ErrorString = GetD3D11ErrorString(D3DResult, Device);
  226       
  227       	UE_LOG(LogD3D11RHI, Error,TEXT("%s failed \n at %s:%u \n with error %s"),ANSI_TO_TCHAR(Code),ANSI_TO_TCHAR(Filename),Line,*ErrorString);
  228       
  229       	TerminateOnDeviceRemoved(D3DResult, Device);
  230       	TerminateOnOutOfMemory(D3DResult, false);
  231       
  232 ***** 	UE_LOG(LogD3D11RHI, Fatal,TEXT("%s failed \n at %s:%u \n with error %s"),ANSI_TO_TCHAR(Code),ANSI_TO_TCHAR(Filename),Line,*ErrorString);
  233       }
Steps to Reproduce

repro steps currently unknown

Callstack
Fatal error: [File:D:\Build\++UE4+Release-4.16+Compile\Sync\Engine\Source\Runtime\Windows\D3D11RHI\Private\D3D11Util.cpp] [Line: 233] 
Direct3DDevice->CreateBuffer(&Desc,pInitData,VertexBufferResource.GetInitReference()) failed at D:\Build\++UE4+Release-4.16+Compile\Sync\Engine\Source\Runtime\Windows\D3D11RHI\Private\D3D11VertexBuffer.cpp:75 
with error E_INVALIDARG

UE4Editor_D3D11RHI!VerifyD3D11Result() d3d11util.cpp:233 
UE4Editor_D3D11RHI!FD3D11DynamicRHI::RHICreateVertexBuffer() d3d11vertexbuffer.cpp:77 
UE4Editor_RHI!FDynamicRHI::CreateVertexBuffer_RenderThread() rhicommandlist.cpp:1732 
UE4Editor_RHI!FRHICommandListImmediate::CreateVertexBuffer() rhicommandlist.h:2863 
UE4Editor_Engine!RHICreateVertexBuffer() rhicommandlist.h:3589 
UE4Editor_Engine!FSkeletalMeshVertexBuffer::InitRHI() skeletalmesh.cpp:304 
UE4Editor_RenderCore!FRenderResource::InitResource() renderresource.cpp:33 
UE4Editor_RenderCore!TGraphTask<`BeginInitResource'::`2'::EURCMacro_InitCommand>::ExecuteTask() taskgraphinterfaces.h:883 
UE4Editor_Core!FNamedTaskThread::ProcessTasksNamedThread() taskgraph.cpp:954 
UE4Editor_Core!FNamedTaskThread::ProcessTasksUntilQuit() taskgraph.cpp:701 
UE4Editor_RenderCore!RenderingThreadMain() renderingthread.cpp:327 
UE4Editor_RenderCore!FRenderingThread::Run() renderingthread.cpp:461 
UE4Editor_Core!FRunnableThreadWin::Run() windowsrunnablethread.cpp:76 

Have Comments or More Details?

There's no existing public thread on this issue, so head over toAnswerHub just mention UE-46910 in the post.

2
Login to Vote

Fixed
ComponentRendering
Affects Versions4.144.154.16
Target Fix4.17
Fix Commit3542533
Main Commit3596628
Release Commit3542533
CreatedJul 6, 2017
ResolvedJul 18, 2017
UpdatedApr 27, 2018