Description

An ensure occurs if the user undoes the adding of an Add Component node in the Construction Script, when Hide Construct Script Components in Details View is disabled (which is on by default).

Steps to Reproduce
  1. Open QAGame in editor.
  2. Open Editor Preferences > Content Editors > Blueprint Editor.
  3. Disable Hide Construction Script Components in Details View.
  4. Create and open a new blueprint.
  5. In in the Construction Script graph, drag off the Construction Script node and add an Add Static Mesh Component node.
  6. Compile.
  7. Undo.

RESULT

Ensure.

Callstack
Ensure condition failed: !InSceneComponent->IsPendingKill() [File:D:\Framework\Engine\Source\Editor\Kismet\Private\SSCSEditor.cpp] [Line: 5870]

UE4Editor_Kismet!SSCSEditor::AddTreeNodeFromComponent() sscseditor.cpp:5870 
UE4Editor_Kismet!SSCSEditor::UpdateTree() sscseditor.cpp:4549 
UE4Editor_Kismet!FBlueprintEditor::RefreshEditors() blueprinteditor.cpp:754 
UE4Editor_Kismet!FBlueprintEditor::OnBlueprintChangedImpl() blueprinteditor.cpp:3110 
UE4Editor_Kismet!TBaseSPMethodDelegateInstance<0,FBlueprintEditor,0,TTypeWrapper<void> __cdecl() delegateinstancesimpl.h:327 
UE4Editor_Kismet!TBaseSPMethodDelegateInstance<0,FBlueprintEditor,0,void __cdecl() delegateinstancesimpl.h:434 
UE4Editor_Engine!TBaseMulticastDelegate<void,UBlueprint * __ptr64>::Broadcast() delegatesignatureimpl.inl:937 
UE4Editor_UnrealEd!FBlueprintEditorUtils::MarkBlueprintAsStructurallyModified() blueprinteditorutils.cpp:2107 
UE4Editor_Kismet!FixSubObjectReferencesPostUndoRedo() blueprinteditormodule.cpp:165 
UE4Editor_UnrealEd!UEditorEngine::BroadcastPostUndo() editorserver.cpp:5049 
UE4Editor_UnrealEd!UEditorEngine::HandleTransactorUndo() editorserver.cpp:1186 
UE4Editor_UnrealEd!TBaseUObjectMethodDelegateInstance<0,UEditorEngine,TTypeWrapper<void> __cdecl() delegateinstancesimpl.h:766 
UE4Editor_UnrealEd!TBaseUObjectMethodDelegateInstance<0,UEditorEngine,void __cdecl() delegateinstancesimpl.h:856 
UE4Editor_UnrealEd!TBaseMulticastDelegate<void,FUndoSessionContext,bool>::Broadcast() delegatesignatureimpl.inl:937 
UE4Editor_UnrealEd!UTransBuffer::Undo() editortransaction.cpp:893 
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::ConditionalProcessCommandBindings() uicommandlist.cpp:216 
UE4Editor_Slate!FUICommandList::ProcessCommandBindings() uicommandlist.cpp:160 
UE4Editor_UnrealEd!FBaseToolkit::ProcessCommandBindings() basetoolkit.cpp:74 
UE4Editor_UnrealEd!SStandaloneAssetEditorToolkitHost::OnKeyDown() sstandaloneasseteditortoolkithost.cpp:324 
UE4Editor_Slate!<lambda_2afcd964c763e269e2d1a63f3a72f846>::operator() slateapplication.cpp:4870 
UE4Editor_Slate!FEventRouter::Route<FReply,FEventRouter::FBubblePolicy,FKeyEvent,<lambda_2afcd964c763e269e2d1a63f3a72f846> >() slateapplication.cpp:234 
UE4Editor_Slate!FEventRouter::RouteAlongFocusPath<FEventRouter::FBubblePolicy,<lambda_2afcd964c763e269e2d1a63f3a72f846>,FKeyEvent>() slateapplication.cpp:216 
UE4Editor_Slate!FSlateApplication::ProcessKeyDownEvent() slateapplication.cpp:4868 
UE4Editor_Slate!FSlateApplication::OnKeyDown() slateapplication.cpp:4780 
UE4Editor_ApplicationCore!FWindowsApplication::ProcessDeferredMessage() windowsapplication.cpp:1560 
UE4Editor_ApplicationCore!FWindowsApplication::DeferMessage() windowsapplication.cpp:2171 
UE4Editor_ApplicationCore!FWindowsApplication::ProcessMessage() windowsapplication.cpp:888 
UE4Editor_ApplicationCore!FWindowsApplication::AppWndProc() windowsapplication.cpp:725 
user32!<Unknown> 
user32!<Unknown> 
UE4Editor_ApplicationCore!FWindowsPlatformApplicationMisc::PumpMessages() windowsplatformapplicationmisc.cpp:129 
UE4Editor!FEngineLoop::Tick() launchengineloop.cpp:3230 
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!<Unknown> 
ntdll!<Unknown> 

Have Comments or More Details?

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

1
Login to Vote

Won't Fix
ComponentUE - Gameplay - Components
Affects Versions4.19
CreatedOct 2, 2017
ResolvedAug 18, 2021
UpdatedAug 18, 2021
View Jira Issue