Description

This Jira was created from CrashReports submitted by the public due to the high number of occurrences.

Error message:

Fatal error: [Link Removed] [Line: 200] SwapChain->ResizeBuffers(1,SizeX,SizeY,GetRenderTargetFormat(PixelFormat),DXGI_SWAP_CHAIN_FLAG_ALLOW_MODE_SWITCH) failed at D:\BuildFarm\buildmachine_++UE4+Release-4.11\Engine\Source\Runtime\Windows\D3D11RHI\Private\D3D11Viewport.cpp:213 with error DXGI_ERROR_INVALID_CALL

Source Context:

  185       	#define MAKE_D3DHRESULT( code)		MAKE_HRESULT( 1, _FACD3D, code )
  186       #endif	//MAKE_D3DHRESULT
  187       
  188       void VerifyD3D11Result(HRESULT D3DResult,const ANSICHAR* Code,const ANSICHAR* Filename,uint32 Line, ID3D11Device* Device)
  189       {
  190       	check(FAILED(D3DResult));
  191       
  192       	const FString& ErrorString = GetD3D11ErrorString(D3DResult, Device);
  193       
  194       	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);
  195       
  196       	TerminateOnDeviceRemoved(D3DResult);
  197       	TerminateOnOutOfMemory(D3DResult, false);
  198       
  199 ***** 	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);
  200       }
  201       
  202       void VerifyD3D11CreateTextureResult(HRESULT D3DResult,const ANSICHAR* Code,const ANSICHAR* Filename,uint32 Line,uint32 SizeX,uint32 SizeY,uint32 SizeZ,uint8 Format,uint32 NumMips,uint32 Flags)
  203       {
  204       	check(FAILED(D3DResult));
  205       
  206       	const FString ErrorString = GetD3D11ErrorString(D3DResult, 0);
  207       	const TCHAR* D3DFormatString = GetD3D11TextureFormatString((DXGI_FORMAT)Format);
  208       
  209       	UE_LOG(LogD3D11RHI, Error,
  210       		TEXT("%s failed \n at %s:%u \n with error %s, \n Size=%ix%ix%i Format=%s(0x%08X), NumMips=%i, Flags=%s"),
  211       		ANSI_TO_TCHAR(Code),
  212       		ANSI_TO_TCHAR(Filename),
  213       		Line,
  214       		*ErrorString,

Most recent user affected CL: 2946394

Logs:
[Link Removed]
[Link Removed]

*Issue call stack shares some similarities with * [Link Removed], [Link Removed]

Steps to Reproduce

Repro steps unknown

Callstack
UE4Editor_D3D11RHI!VerifyD3D11Result() [d3d11util.cpp:200]
UE4Editor_D3D11RHI!FD3D11Viewport::Resize() [d3d11viewport.cpp:215]
UE4Editor_SlateRHIRenderer!FSlateRHIRenderer::ConditionalResizeViewport() [slaterhirenderer.cpp:324]
UE4Editor_SlateRHIRenderer!FSlateRHIRenderer::DrawWindows_Private() [slaterhirenderer.cpp:629]
UE4Editor_Slate!FSlateApplication::PrivateDrawWindows() [slateapplication.cpp:1243]
UE4Editor_Slate!FSlateApplication::DrawWindows() [slateapplication.cpp:957]
UE4Editor_Slate!FSlateApplication::TickApplication() [slateapplication.cpp:1543]
UE4Editor_Slate!FSlateApplication::Tick() [slateapplication.cpp:1335]
UE4Editor!FEngineLoop::Tick() [launchengineloop.cpp:2679]
UE4Editor!GuardedMain() [launch.cpp:142]
UE4Editor!GuardedMainWrapper() [launchwindows.cpp:126]
UE4Editor!WinMain() [launchwindows.cpp:200]
UE4Editor!__scrt_common_main_seh() [exe_common.inl:264]
kernel32!BaseThreadInitThunk()
ntdll!RtlUserThreadStart()

Have Comments or More Details?

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

4
Login to Vote

Fixed
ComponentUE - Editor - UI Systems - Slate
Affects Versions4.114.134.144.15
Target Fix4.16
Fix Commit3392310
Release Commit3392310
CreatedMay 9, 2016
ResolvedApr 13, 2017
UpdatedApr 27, 2018
View Jira Issue