Description

No user comments on crash group 

  135       		case ERawImageFormat::BGRA8:
  136       			{
  137       				const FColor* SrcColors = SrcImage.AsBGRA8();
  138       				for (int32 TexelIndex = 0; TexelIndex < NumTexels; ++TexelIndex)
  139       				{
  140       					switch ( SrcImage.GammaSpace )
  141       					{
  142       					case EGammaSpace::Linear:
  143 ***** 						DestColors[TexelIndex] = SrcColors[TexelIndex].ReinterpretAsLinear();
  144       						break;
  145       					case EGammaSpace::sRGB:
  146       						DestColors[TexelIndex] = FLinearColor(SrcColors[TexelIndex]);
  147       						break;
  148       					case EGammaSpace::Pow22:
  149       						DestColors[TexelIndex] = FLinearColor::FromPow22Color(SrcColors[TexelIndex]);
  150       						break;
  151       					}
  152       				}
  153       			}
  154       			break;
Steps to Reproduce

Repro steps required to use the "Bake Material" tool in the static mesh component and use a size than 8K 

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

UE4Editor_ImageCore!CopyImage() [imagecore.cpp:144]
UE4Editor_TextureCompressor!FTextureCompressorModule::BuildTextureMips() [texturecompressormodule.cpp:2088]
UE4Editor_TextureCompressor!FTextureCompressorModule::BuildTexture() [texturecompressormodule.cpp:1822]
UE4Editor_Engine!FTextureCacheDerivedDataWorker::BuildTexture() [texturederiveddatatask.cpp:148]
UE4Editor_Engine!FTexturePlatformData::Cache() [texturederiveddata.cpp:660]
UE4Editor_Engine!UTexture::CachePlatformData() [texturederiveddata.cpp:1118]
UE4Editor_Engine!UTexture2D::UpdateResource() [texture2d.cpp:483]
UE4Editor_Engine!UTexture::PostEditChangeProperty() [texture.cpp:217]
UE4Editor_CoreUObject!UObject::PostEditChange() [obj.cpp:333]
UE4Editor_Engine!FImageUtils::CreateTexture2D() [imageutils.cpp:209]
UE4Editor_MaterialUtilities!FMaterialUtilities::CreateTexture() [materialutilities.cpp:1485]
UE4Editor_MaterialUtilities!FMaterialUtilities::CreateProxyMaterialAndTextures() [materialutilities.cpp:119]
UE4Editor_MeshMergeUtilities!FMeshMergeUtilities::BakeMaterialsForComponent() [meshmergeutilities.cpp:355]
UE4Editor_MeshMergeUtilities!FMeshMergeUtilities::BakeMaterialsForComponent() [meshmergeutilities.cpp:461]
UE4Editor_DetailCustomizations!<lambda_9edb1bea4fba2ee93189d8120241492b>::operator() [staticmeshactordetails.cpp:118]
UE4Editor_DetailCustomizations!UE4Tuple_Private::TTupleImpl<TIntegerSequence<unsigned int> >::ApplyAfter<<lambda_9edb1bea4fba2ee93189d8120241492b> & __ptr64>() [tuple.h:498]
UE4Editor_DetailCustomizations!TBaseFunctorDelegateInstance<FReply __cdecl() [delegateinstancesimpl.h:863]
UE4Editor_Slate!TBaseDelegate<FReply>::Execute() [delegatesignatureimpl.inl:537]
UE4Editor_Slate!SButton::OnMouseButtonUp() [sbutton.cpp:282]
UE4Editor_Slate!<lambda_1002768c627006711ef2f351a87ec0e7>::operator() [slateapplication.cpp:5440]
UE4Editor_Slate!FEventRouter::Route<FReply,FEventRouter::FToLeafmostPolicy,FPointerEvent,<lambda_1002768c627006711ef2f351a87ec0e7> >() [slateapplication.cpp:266]
UE4Editor_Slate!FSlateApplication::RoutePointerUpEvent() [slateapplication.cpp:5429]
UE4Editor_Slate!FSlateApplication::ProcessMouseButtonUpEvent() [slateapplication.cpp:5927]
UE4Editor_Slate!FSlateApplication::OnMouseUp() [slateapplication.cpp:5907]
UE4Editor_ApplicationCore!FWindowsApplication::ProcessDeferredMessage() [windowsapplication.cpp:1726]
UE4Editor_ApplicationCore!FWindowsApplication::DeferMessage() [windowsapplication.cpp:2172]
UE4Editor_ApplicationCore!FWindowsApplication::ProcessMessage() [windowsapplication.cpp:889]
UE4Editor_ApplicationCore!FWindowsApplication::AppWndProc() [windowsapplication.cpp:726]
user32!UserCallWinProcCheckWow()
user32!DispatchMessageWorker()
UE4Editor_ApplicationCore!FWindowsPlatformApplicationMisc::PumpMessages() [windowsplatformapplicationmisc.cpp:129]
UE4Editor!FEngineLoop::Tick() [launchengineloop.cpp:3263]
UE4Editor!GuardedMain() [launch.cpp:166]
UE4Editor!GuardedMainWrapper() [launchwindows.cpp:134]
UE4Editor!WinMain() [launchwindows.cpp:210]
UE4Editor!__scrt_common_main_seh() [exe_common.inl:253]
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-56508 in the post.

0
Login to Vote

Fixed
ComponentUE - Graphics Features
Affects Versions4.19
Target Fix4.19.1
Fix Commit3975698
CreatedMar 27, 2018
ResolvedMar 30, 2018
UpdatedMay 29, 2018
View Jira Issue