Description

Crash occurs in the curve editor if the user tries to Fit Vertical after Resetting to Defaults. The crash seems to only occur when a key is deleted, and the user has the last key in the curve selected when Resetting to Defaults.

Steps to Reproduce
  1. Open QAGame in editor.
  2. Open the blueprint VehiclePawn.
  3. Select the WheeledVehicleMovementComponent4W
  4. In the Details panel, in the Torque Curve, delete the second key.
  5. Select the last key.
  6. With the last key selected, click the Reset To Defaults yellow arrow.
  7. Click the Fit Vertical button.

RESULT:

Crash

Callstack
UE4Editor_Engine!FIndexedCurve::GetIndex() indexedcurve.cpp:60 
UE4Editor_Engine!FRichCurve::GetNextKey() richcurve.cpp:205 
UE4Editor_UnrealEd!SCurveEditor::ZoomToFitVertical() scurveeditor.cpp:2461 
UE4Editor_UnrealEd!SCurveEditor::ZoomToFitVerticalClicked() scurveeditor.cpp:2519 
UE4Editor_UnrealEd!TMemberFunctionCaller<SCurveEditor,FReply() delegateinstanceinterface.h:161 
UE4Editor_UnrealEd!TTupleImpl<TIntegerSequence<unsigned int> >::ApplyAfter<TMemberFunctionCaller<SCurveEditor,FReply() tuple.h:116 
UE4Editor_UnrealEd!TBaseSPMethodDelegateInstance<0,SCurveEditor,0,FReply __cdecl() delegateinstancesimpl.h:318 
UE4Editor_Slate!TBaseDelegate<FReply>::Execute() delegatesignatureimpl.inl:522 
UE4Editor_Slate!SButton::OnMouseButtonUp() sbutton.cpp:275 
UE4Editor_Slate!<lambda_8d0e9a1da76abd0a756a3a9d775f5ed1>::operator() slateapplication.cpp:5010 
UE4Editor_Slate!FEventRouter::Route<FReply,FEventRouter::FToLeafmostPolicy,FPointerEvent,<lambda_8d0e9a1da76abd0a756a3a9d775f5ed1> >() slateapplication.cpp:215
UE4Editor_Slate!FSlateApplication::RoutePointerUpEvent() slateapplication.cpp:4999 
UE4Editor_Slate!FSlateApplication::ProcessMouseButtonUpEvent() slateapplication.cpp:5462 
UE4Editor_Slate!FSlateApplication::OnMouseUp() slateapplication.cpp:5439 
UE4Editor_Core!FWindowsApplication::ProcessDeferredMessage() windowsapplication.cpp:1652 
UE4Editor_Core!FWindowsApplication::DeferMessage() windowsapplication.cpp:2071 
UE4Editor_Core!FWindowsApplication::ProcessMessage() windowsapplication.cpp:814 
UE4Editor_Core!FWindowsApplication::AppWndProc() windowsapplication.cpp:678 
user32!<Unknown> 
user32!<Unknown> 
UE4Editor_Core!FWindowsPlatformMisc::PumpMessages() windowsplatformmisc.cpp:951 
UE4Editor!FEngineLoop::Tick() launchengineloop.cpp:2811 
UE4Editor!GuardedMain() launch.cpp:152 
UE4Editor!GuardedMainWrapper() launchwindows.cpp:126 
UE4Editor!WinMain() launchwindows.cpp:202 
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-38527 in the post.

1
Login to Vote

Fixed
ComponentTools
Affects Versions4.14
Target Fix4.15
Fix Commit3198589
Main Commit3229477
CreatedNov 11, 2016
ResolvedNov 15, 2016
UpdatedApr 27, 2018
View Jira Issue