Description

This is a common crash in the 4.16 release. It seems related to creating a parameter in the Material Editor, however users have not provided any descriptions so additional information is not currently available.

Source Context

 2687       bool FMaterialEditor::OnCanPromoteToParameter()
 2688       {
 2689       	UEdGraphPin* TargetPin = GraphEditor->GetGraphPinForMenu();
 2690       
 2691 ***** 	if (TargetPin->LinkedTo.Num() == 0)
 2692       	{
 2693       		return GetOnPromoteToParameterClass(TargetPin) != nullptr;
 2694       	}
 2695       
 2696       	return false;
 2697       }
Steps to Reproduce

repro steps currently unknown

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

UE4Editor_MaterialEditor!FMaterialEditor::OnCanPromoteToParameter() [materialeditor.cpp:2692]
UE4Editor_MaterialEditor!TBaseSPMethodDelegateInstance<0,FMaterialEditor,0,bool __cdecl() [delegateinstancesimpl.h:327]
UE4Editor_Slate!FUICommandList::CanExecuteAction() [uicommandlist.cpp:111]
UE4Editor_Slate!SMenuEntryBlock::IsEnabled() [smenuentryblock.cpp:1099]
UE4Editor_Slate!TBaseSPMethodDelegateInstance<1,SMenuEntryBlock,0,bool __cdecl() [delegateinstancesimpl.h:327]
UE4Editor_SlateCore!TAttribute<bool>::Get() [attribute.h:137]
UE4Editor_SlateCore!SCompoundWidget::OnPaint() [scompoundwidget.cpp:37]
UE4Editor_SlateCore!SWidget::Paint() [swidget.cpp:776]
UE4Editor_SlateCore!SOverlay::OnPaint() [soverlay.cpp:102]
UE4Editor_SlateCore!SWidget::Paint() [swidget.cpp:776]
UE4Editor_SlateCore!SPanel::PaintArrangedChildren() [spanel.cpp:46]
UE4Editor_SlateCore!SPanel::OnPaint() [spanel.cpp:21]
UE4Editor_SlateCore!SWidget::Paint() [swidget.cpp:776]
UE4Editor_SlateCore!SPanel::PaintArrangedChildren() [spanel.cpp:46]
UE4Editor_SlateCore!SPanel::OnPaint() [spanel.cpp:21]
UE4Editor_SlateCore!SWidget::Paint() [swidget.cpp:776]
UE4Editor_SlateCore!SPanel::PaintArrangedChildren() [spanel.cpp:46]
UE4Editor_SlateCore!SPanel::OnPaint() [spanel.cpp:21]
UE4Editor_SlateCore!SWidget::Paint() [swidget.cpp:776]
UE4Editor_SlateCore!SOverlay::OnPaint() [soverlay.cpp:102]
UE4Editor_SlateCore!SWidget::Paint() [swidget.cpp:776]
UE4Editor_SlateCore!SPanel::PaintArrangedChildren() [spanel.cpp:46]
UE4Editor_SlateCore!SPanel::OnPaint() [spanel.cpp:21]
UE4Editor_SlateCore!SWidget::Paint() [swidget.cpp:776]
UE4Editor_SlateCore!SCompoundWidget::OnPaint() [scompoundwidget.cpp:37]
UE4Editor_Slate!SScrollBox::OnPaint() [sscrollbox.cpp:960]
UE4Editor_SlateCore!SWidget::Paint() [swidget.cpp:776]
UE4Editor_SlateCore!SCompoundWidget::OnPaint() [scompoundwidget.cpp:37]
UE4Editor_Slate!SBorder::OnPaint() [sborder.cpp:86]
UE4Editor_SlateCore!SWidget::Paint() [swidget.cpp:776]
UE4Editor_SlateCore!SCompoundWidget::OnPaint() [scompoundwidget.cpp:37]
UE4Editor_SlateCore!SWidget::Paint() [swidget.cpp:776]
UE4Editor_SlateCore!FSlateWindowElementList::FDeferredPaint::ExecutePaint() [drawelements.cpp:680]
UE4Editor_SlateCore!FSlateWindowElementList::PaintDeferred() [drawelements.cpp:705]
UE4Editor_SlateCore!SWidget::Paint() [swidget.cpp:803]
UE4Editor_Slate!FSlateApplication::DrawWindowAndChildren() [slateapplication.cpp:1192]
UE4Editor_Slate!FSlateApplication::DrawWindowAndChildren() [slateapplication.cpp:1281]
UE4Editor_Slate!FSlateApplication::DrawWindowAndChildren() [slateapplication.cpp:1281]
UE4Editor_Slate!FSlateApplication::PrivateDrawWindows() [slateapplication.cpp:1432]
UE4Editor_Slate!FSlateApplication::DrawWindows() [slateapplication.cpp:1149]
UE4Editor_Slate!FSlateApplication::TickApplication() [slateapplication.cpp:1726]
UE4Editor_Slate!FSlateApplication::Tick() [slateapplication.cpp:1548]
UE4Editor!FEngineLoop::Tick() [launchengineloop.cpp:3182]
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-46556 in the post.

0
Login to Vote

Duplicate
CreatedJun 27, 2017
ResolvedJun 27, 2017
UpdatedNov 2, 2021