Description

Editor is crashing when setting closed loop in the construction script of a blueprint.

This did not occur in 4.12.5 following the same repro, this is a regression.

Steps to Reproduce
  1. Open the editor
  2. Create a new actor blueprint
  3. Create the construction script in the attached screenshot
  4. Compile

Result: Editor Crashes

Callstack

Assertion failed: (Index >= 0) & (Index < ArrayNum) [Link Removed] [Line: 833] Array index out of bounds: -1 from an array of size 0

UE4Editor_Engine!USplineComponent::UpdateSpline() splinecomponent.cpp:157 
UE4Editor_Engine!USplineComponent::execSetClosedLoop() splinecomponent.h:128 
UE4Editor_CoreUObject!UFunction::Invoke() class.cpp:4280 
UE4Editor_CoreUObject!UObject::CallFunction() scriptcore.cpp:697 
UE4Editor_CoreUObject!UObject::ProcessContextOpcode() scriptcore.cpp:2126 
UE4Editor_CoreUObject!UObject::ProcessInternal() scriptcore.cpp:922 
UE4Editor_CoreUObject!UFunction::Invoke() class.cpp:4280 
UE4Editor_CoreUObject!UObject::ProcessEvent() scriptcore.cpp:1305 
UE4Editor_Engine!AActor::ProcessEvent() actor.cpp:652 
UE4Editor_Engine!AActor::ProcessUserConstructionScript() actorconstruction.cpp:768 
UE4Editor_Engine!AActor::ExecuteConstruction() actorconstruction.cpp:690 
UE4Editor_UnrealEd!FActorReplacementHelper::Finalize() kismetreinstanceutilities.cpp:992 
UE4Editor_UnrealEd!FBlueprintCompileReinstancer::ReplaceInstancesOfClass_Inner() kismetreinstanceutilities.cpp:1724 
UE4Editor_UnrealEd!FBlueprintCompileReinstancer::ReplaceInstancesOfClass() kismetreinstanceutilities.cpp:1314 
UE4Editor_UnrealEd!FBlueprintCompileReinstancer::ReinstanceInner() kismetreinstanceutilities.cpp:608 
UE4Editor_UnrealEd!FBlueprintCompileReinstancer::ReinstanceObjects() kismetreinstanceutilities.cpp:770 
UE4Editor_UnrealEd!FKismetEditorUtilities::CompileBlueprint() kismet2.cpp:795 
UE4Editor_Kismet!FBlueprintEditor::Compile() blueprinteditor.cpp:3216 
UE4Editor_Kismet!TBaseSPMethodDelegateInstance<0,FBlueprintEditor,0,TTypeWrapper<void> __cdecl() delegateinstancesimpl.h:317 
UE4Editor_Kismet!TBaseSPMethodDelegateInstance<0,FBlueprintEditor,0,void __cdecl() delegateinstancesimpl.h:424 
UE4Editor_Slate!FUICommandList::ExecuteAction() uicommandlist.cpp:92 
UE4Editor_Slate!SToolBarButtonBlock::OnClicked() stoolbarbuttonblock.cpp:300 
UE4Editor_Slate!TMemberFunctionCaller<SToolBarButtonBlock,FReply() delegateinstanceinterface.h:161 
UE4Editor_Slate!TTupleImpl<TIntegerSequence<unsigned int> >::ApplyAfter<TMemberFunctionCaller<SToolBarButtonBlock,FReply() tuple.h:115 
UE4Editor_Slate!TBaseSPMethodDelegateInstance<0,SToolBarButtonBlock,0,FReply __cdecl() delegateinstancesimpl.h:317 
UE4Editor_Slate!TBaseDelegate<FReply>::Execute() delegatesignatureimpl.inl:521 
UE4Editor_Slate!SButton::OnMouseButtonUp() sbutton.cpp:278 
UE4Editor_Slate!<lambda_2ba86970cc12b39cc598727b6025bd91>::operator() slateapplication.cpp:4901 
UE4Editor_Slate!FEventRouter::Route<FReply,FEventRouter::FToLeafmostPolicy,FPointerEvent,<lambda_2ba86970cc12b39cc598727b6025bd91> >() slateapplication.cpp:215
UE4Editor_Slate!FSlateApplication::RoutePointerUpEvent() slateapplication.cpp:4890 
UE4Editor_Slate!FSlateApplication::ProcessMouseButtonUpEvent() slateapplication.cpp:5348 
UE4Editor_Slate!FSlateApplication::OnMouseUp() slateapplication.cpp:5328 
UE4Editor_Core!FWindowsApplication::ProcessDeferredMessage() windowsapplication.cpp:1584 
UE4Editor_Core!FWindowsApplication::DeferMessage() windowsapplication.cpp:1930 
UE4Editor_Core!FWindowsApplication::ProcessMessage() windowsapplication.cpp:747 
UE4Editor_Core!FWindowsApplication::AppWndProc() windowsapplication.cpp:669 
user32!<Unknown> 
user32!<Unknown> 
UE4Editor_Core!FWindowsPlatformMisc::PumpMessages() windowsplatformmisc.cpp:905 
UE4Editor!FEngineLoop::Tick() launchengineloop.cpp:2788 
UE4Editor!GuardedMain() launch.cpp:156 
UE4Editor!GuardedMainWrapper() launchwindows.cpp:126 
UE4Editor!WinMain() launchwindows.cpp:202 
UE4Editor!__scrt_common_main_seh() exe_common.inl:253 
kernel32!<Unknown> 
ntdll!<Unknown> 

Have Comments or More Details?

Head over to the existingAnswerHub thread and let us know what's up.

1
Login to Vote

Fixed
ComponentTools
Affects Versions4.134.15
Target Fix4.14
Fix Commit3166719
Release Commit3166719
CreatedOct 18, 2016
ResolvedOct 18, 2016
UpdatedApr 27, 2018