Description

No user comments in crash group

   18       FSlateShaderResourceManager* FSlateDataPayload::ResourceManager;
   19       
   20       static bool IsResourceObjectValid(UObject*& InObject)
   21       {
   22 ***** 	if (InObject != nullptr && (InObject->IsPendingKillOrUnreachable() || InObject->HasAnyFlags(RF_BeginDestroyed)))
   23       	{
   24       		UE_LOG(LogSlate, Warning, TEXT("Attempted to access resource for %s which is pending kill, unreachable or pending destroy"), *InObject->GetName());
   25       		return false;
   26       	}
   27       
   28       	return true;
   29       }
   30       
Steps to Reproduce

No known steps to reproduce

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

UE4Editor_SlateCore!IsResourceObjectValid() [drawelements.cpp:23]
UE4Editor_SlateCore!FSlateDrawElement::MakeBox() [drawelements.cpp:276]
UE4Editor_Slate!SImage::OnPaint() [simage.cpp:26]
UE4Editor_SlateCore!SWidget::Paint() [swidget.cpp:1090]
UE4Editor_SlateCore!SCompoundWidget::OnPaint() [scompoundwidget.cpp:35]
UE4Editor_Slate!SScaleBox::OnPaint() [sscalebox.cpp:234]
UE4Editor_SlateCore!SWidget::Paint() [swidget.cpp:1090]
UE4Editor_SlateCore!SOverlay::OnPaint() [soverlay.cpp:95]
UE4Editor_SlateCore!SWidget::Paint() [swidget.cpp:1090]
UE4Editor_SlateCore!SCompoundWidget::OnPaint() [scompoundwidget.cpp:35]
UE4Editor_Slate!SScaleBox::OnPaint() [sscalebox.cpp:234]
UE4Editor_SlateCore!SWidget::Paint() [swidget.cpp:1090]
UE4Editor_SlateCore!SPanel::PaintArrangedChildren() [spanel.cpp:31]
UE4Editor_SlateCore!SPanel::OnPaint() [spanel.cpp:12]
UE4Editor_SlateCore!SWidget::Paint() [swidget.cpp:1090]
UE4Editor_SlateCore!SCompoundWidget::OnPaint() [scompoundwidget.cpp:35]
UE4Editor_SlateCore!SWidget::Paint() [swidget.cpp:1090]
UE4Editor_SlateCore!SCompoundWidget::OnPaint() [scompoundwidget.cpp:35]
UE4Editor_Slate!SBorder::OnPaint() [sborder.cpp:87]
UE4Editor_SubstanceSource!<Unknown>

Have Comments or More Details?

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

3
Login to Vote

Cannot Reproduce
ComponentTools
Affects Versions4.204.214.22
CreatedAug 2, 2018
ResolvedMay 20, 2020
UpdatedMay 20, 2020