Description

Was created from CrashReports submitted by the public due to the high number of occurrences. Descriptions from users are provided below.

Error message:

Access violation - code c0000005 (first/second chance not available)

Source Context:

 1155       		}
 1156       	}
 1157       	
 1158       	// If the views don't cover the entire bounding rectangle, clear the entire buffer.
 1159       	bool bBufferCleared = false;
 1160       	if ( ViewFamily.Views.Num() == 0 || TotalArea != (MaxX-MinX)*(MaxY-MinY) || bDisableWorldRendering )
 1161       	{
 1162       		SceneCanvas->DrawTile(0,0,InViewport->GetSizeXY().X,InViewport->GetSizeXY().Y,0.0f,0.0f,1.0f,1.f,FLinearColor::Black,NULL,false);
 1163       		bBufferCleared = true;
 1164       	}
 1165       
 1166       	// Draw the player views.
 1167       	if (!bDisableWorldRendering && !bUIDisableWorldRendering && PlayerViewMap.Num() > 0) //-V560
 1168       	{
 1169 ***** 		GetRendererModule().BeginRenderingViewFamily(SceneCanvas,&ViewFamily);
 1170       	}
 1171       	else
 1172       	{
 1173       		// Make sure RHI resources get flushed if we're not using a renderer
 1174       		ENQUEUE_UNIQUE_RENDER_COMMAND( UGameViewportClient_FlushRHIResources,
 1175       		{ 
 1176       			FRHICommandListExecutor::GetImmediateCommandList().ImmediateFlush(EImmediateFlushType::FlushRHIThreadFlushResources);
 1177       		});
 1178       	}
 1179       
 1180       	// Clear areas of the rendertarget (backbuffer) that aren't drawn over by the views.
 1181       	if (!bBufferCleared)
 1182       	{
 1183       		// clear left
 1184       		if( MinX > 0 )

Most recent user affected CL: 3348071

Logs:
[Link Removed]
[Link Removed]
[Link Removed]
[Link Removed]

Issue call stack shares some similarities with this Jira: [Link Removed]


CrashReporter User Descriptions:

Steps to Reproduce
  • Open QAGame,
  • Project settings, rendering settings -> Mobile HDR to OFF, closer editor
  • Set your OS's DPI scale != 1 and relaunch
  • Editor, switch to Android preview, PIE, and enjoy the crash.

 

 

Callstack
UE4Editor_Engine!UGameViewportClient::Draw() [gameviewportclient.cpp:1170]
UE4Editor_Engine!FViewport::Draw() [unrealclient.cpp:1185]
UE4Editor_UnrealEd!UEditorEngine::Tick() [editorengine.cpp:1823]
UE4Editor_UnrealEd!UUnrealEdEngine::Tick() [unrealedengine.cpp:391]
UE4Editor!FEngineLoop::Tick() [launchengineloop.cpp:3025]
UE4Editor!GuardedMain() [launch.cpp:166]
UE4Editor!GuardedMainWrapper() [launchwindows.cpp:134]
UE4Editor!WinMain() [launchwindows.cpp:210]
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-43622 in the post.

0
Login to Vote

Fixed
ComponentUE - Graphics Features
Affects Versions4.154.19
Target Fix4.19
Fix Commit3924839
Main Commit3990065
Release Commit3924839
CreatedApr 4, 2017
ResolvedMar 5, 2018
UpdatedSep 16, 2019
View Jira Issue