Description

When duplicating or deleting a component whilst a point light is also a component within an Actor BP, the editor crashes. See callstack for info.

This is a regression.

Working: 4.15.2
Broken: 4.16

Steps to Reproduce
  1. Create a new Blueprint Class based on Actor
  2. With the new BP window open, drag and drop a Point Light from the "Place" tab to the Component window within the actor BP
  3. Right click the point light component and select "Duplicate"

RESULT:
Editor crashes.

EXPECTED RESULT:
Editor does not crash when duplicating a component if point light is also component within Actor BP.

Callstack
UE4Editor_Engine!UActorComponent::RegisterComponentWithWorld() actorcomponent.cpp:924 
UE4Editor_Engine!UActorComponent::RegisterComponent() actorcomponent.cpp:1015 
UE4Editor_Engine!FComponentInstanceDataCache::FComponentInstanceDataCache() componentinstancedatacache.cpp:226 
UE4Editor_Engine!AActor::FActorTransactionAnnotation::FActorTransactionAnnotation() actoreditor.cpp:284 
UE4Editor_Engine!AActor::GetTransactionAnnotation() actoreditor.cpp:339 
UE4Editor_UnrealEd!FTransaction::FObjectRecord::FObjectRecord() editortransaction.cpp:78 
UE4Editor_UnrealEd!FTransaction::SaveObject() editortransaction.cpp:385 
UE4Editor_CoreUObject!SaveToTransactionBuffer() uobjectglobals.cpp:2116 
UE4Editor_CoreUObject!UObject::Modify() obj.cpp:1068 
UE4Editor_Engine!AActor::Modify() actor.cpp:1073 
UE4Editor_Engine!UWorld::DestroyActor() levelactor.cpp:608 
UE4Editor_Engine!UChildActorComponent::DestroyChildActor() childactorcomponent.cpp:604 
UE4Editor_Engine!UActorComponent::ExecuteUnregisterEvents() actorcomponent.cpp:1253 
UE4Editor_Engine!UActorComponent::UnregisterComponent() actorcomponent.cpp:1037 
UE4Editor_Engine!AActor::UnregisterAllComponents() actor.cpp:3983 
UE4Editor_Engine!AActor::PostEditChangeProperty() actoreditor.cpp:124 
UE4Editor_CoreUObject!UObject::PostEditChange() obj.cpp:332 
UE4Editor_UnrealEd!FBlueprintEditorUtils::PostEditChangeBlueprintActors() blueprinteditorutils.cpp:7580 
UE4Editor_Kismet!FBlueprintEditor::OnBlueprintChangedImpl() blueprinteditor.cpp:3191 
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:2083 
UE4Editor_Kismet!SSCSEditor::AddNewComponent() sscseditor.cpp:4833 
UE4Editor_Kismet!SSCSEditor::OnDuplicateComponent() sscseditor.cpp:3890 
UE4Editor_Kismet!TBaseSPMethodDelegateInstance<0,SSCSEditor,0,TTypeWrapper<void> __cdecl() delegateinstancesimpl.h:327 
UE4Editor_Kismet!TBaseSPMethodDelegateInstance<0,SSCSEditor,0,void __cdecl() delegateinstancesimpl.h:433 
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!<Unknown> 
user32!<Unknown> 
UE4Editor_Core!FWindowsPlatformMisc::PumpMessages() windowsplatformmisc.cpp:980 
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:264 
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-44372 in the post.

0
Login to Vote

Fixed
ComponentUE - Gameplay - Blueprint Editor
Affects Versions4.16
Target Fix4.16
Fix Commit3410397
Main Commit3427032
Release Commit3412456
CreatedApr 25, 2017
ResolvedApr 26, 2017
UpdatedMay 6, 2017
View Jira Issue