Description

This is a common crash affecting users on Mac and Windows.

User Descriptions

  • removing empty execution pins from sequence node

Source Context

 3952       void  FBlueprintEditor::OnRemoveExecutionPin()
 3953       {
 3954       	TSharedPtr<SGraphEditor> FocusedGraphEd = FocusedGraphEdPtr.Pin();
 3955       	if (FocusedGraphEd.IsValid())
 3956       	{
 3957       		const FScopedTransaction Transaction( LOCTEXT("RemoveExecutionPin", "Remove Execution Pin") );
 3958       
 3959       		UEdGraphPin* SelectedPin = FocusedGraphEd->GetGraphPinForMenu();
 3960 ***** 		UEdGraphNode* OwningNode = SelectedPin->GetOwningNode();
 3961       
 3962       		OwningNode->Modify();
 3963       		SelectedPin->Modify();
 3964       
 3965       		if (UK2Node_ExecutionSequence* SeqNode = Cast<UK2Node_ExecutionSequence>(OwningNode))
 3966       		{
 3967       			SeqNode->RemovePinFromExecutionNode(SelectedPin);
 3968       		}
 3969       		else if (UK2Node_Switch* SwitchNode = Cast<UK2Node_Switch>(OwningNode))
 3970       		{
 3971       			SwitchNode->RemovePinFromSwitchNode(SelectedPin);
 3972       		}
 3973       
 3974       		// Update the graph so that the node will be refreshed
 3975       		FocusedGraphEd->NotifyGraphChanged();
Steps to Reproduce

repro steps currently unknown

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

UE4Editor_Kismet!FBlueprintEditor::OnRemoveExecutionPin() blueprinteditor.cpp:3961 
UE4Editor_Kismet!TBaseSPMethodDelegateInstance<0,FBlueprintEditor,0,TTypeWrapper<void> __cdecl() delegateinstancesimpl.h:327 
UE4Editor_Kismet!TBaseSPMethodDelegateInstance<0,FBlueprintEditor,0,void __cdecl() delegateinstancesimpl.h:434 
UE4Editor_Slate!FUICommandList::ExecuteAction() uicommandlist.cpp:97 
UE4Editor_Slate!SMenuEntryBlock::OnClicked() smenuentryblock.cpp:1042 
UE4Editor_Slate!SMenuEntryBlock::OnMenuItemButtonClicked() smenuentryblock.cpp:1002 
UE4Editor_Slate!TMemberFunctionCaller<SMenuEntryBlock,FReply() delegateinstanceinterface.h:165 
UE4Editor_Slate!UE4Tuple_Private::TTupleImpl<TIntegerSequence<unsigned int> >::ApplyAfter<TMemberFunctionCaller<SMenuEntryBlock,FReply() tuple.h:497 
UE4Editor_Slate!TBaseSPMethodDelegateInstance<0,SMenuEntryBlock,0,FReply __cdecl() delegateinstancesimpl.h:327 
UE4Editor_Slate!TBaseDelegate<FReply>::Execute() delegatesignatureimpl.inl:537 
UE4Editor_Slate!SButton::OnMouseButtonUp() sbutton.cpp:278 
UE4Editor_Slate!SMenuEntryButton::OnMouseButtonUp() smenuentryblock.cpp:399 
UE4Editor_Slate!<lambda_8d0e9a1da76abd0a756a3a9d775f5ed1>::operator() slateapplication.cpp:5049 
UE4Editor_Slate!FEventRouter::Route<FReply,FEventRouter::FToLeafmostPolicy,FPointerEvent,<lambda_8d0e9a1da76abd0a756a3a9d775f5ed1> >() slateapplication.cpp:239 
UE4Editor_Slate!FSlateApplication::RoutePointerUpEvent() slateapplication.cpp:5038 
UE4Editor_Slate!FSlateApplication::ProcessMouseButtonUpEvent() slateapplication.cpp:5515 
UE4Editor_Slate!FSlateApplication::OnMouseUp() slateapplication.cpp:5495 
UE4Editor_Core!FWindowsApplication::ProcessDeferredMessage() windowsapplication.cpp:1704 
UE4Editor_Core!FWindowsApplication::DeferMessage() windowsapplication.cpp:2127 
UE4Editor_Core!FWindowsApplication::ProcessMessage() windowsapplication.cpp:867 
UE4Editor_Core!FWindowsApplication::AppWndProc() windowsapplication.cpp:714 
user32!UserCallWinProcCheckWow() 
user32!DispatchMessageWorker() 
UE4Editor_Core!FWindowsPlatformMisc::PumpMessages() windowsplatformmisc.cpp:1009 
UE4Editor!FEngineLoop::Tick() launchengineloop.cpp:3058 
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-47261 in the post.

0
Login to Vote

Fixed
ComponentUE - Gameplay - Blueprint Editor
Affects Versions4.134.16
Target Fix4.17
Fix Commit3538665
Main Commit3555226
Release Commit3538665
CreatedJul 14, 2017
ResolvedJul 14, 2017
UpdatedApr 27, 2018