Description

Crash after removing frames in recorded animation. 

Reported in version 4.25.3 (CL-13942748) and tested in versions 4.24.3 (CL-11590370) and 4.25. Working as expected in 4.24. 

 

Steps to Reproduce
  1. Open an existing Animation Sequence
  2. Record animation (in animation sequence)
  3. Open the NewAnimation created
  4. RMB on timeline
  5. Choose Remove frame X to frame Y
  6. Have crash

Results: Crash with Error Message: Assertion failed: KeyIndex [Link Removed] [Line: 71]

Expected: Frames removed. 

Callstack

ntdll!248e0000  + 9c0f4
KERNELBASE!22520000  + 38a83
UE4Editor-Core!ReportCrash(_EXCEPTION_POINTERS *) [WindowsPlatformCrashContext.cpp:1488]
UE4Editor!`GuardedMainWrapper'::`1'::filt$0  [LaunchWindows.cpp:140]
VCRUNTIME140!c3d0000  + dfc0
ntdll!248e0000  + a11cf
ntdll!248e0000  + 6a209
ntdll!248e0000  + 69fc3
KERNELBASE!22520000  + 3a719
UE4Editor-Core!ReportAssert(wchar_t const *,int) [WindowsPlatformCrashContext.cpp:1541]
UE4Editor-Core!FWindowsErrorOutputDevice::Serialize(wchar_t const *,ELogVerbosity::Type,FName const &) [WindowsErrorOutputDevice.cpp:78]
UE4Editor-Core!FOutputDevice::LogfImpl(wchar_t const *,...) [OutputDevice.cpp:61]
UE4Editor-Core!AssertFailedImplV  [AssertionMacros.cpp:100]
UE4Editor-Core!FDebug::CheckVerifyFailedImpl(char const *,char const *,int,wchar_t const *,...) [AssertionMacros.cpp:450]
UE4Editor-Engine!FRichCurve::DeleteKey(FKeyHandle) [RichCurve.cpp:247]
UE4Editor-Engine!FRichCurve::ReadjustTimeRange(float,float,bool,float,float) [RichCurve.cpp:687]
UE4Editor-Engine!FRawCurveTracks::Resize(float,bool,float,float) [AnimCurveTypes.cpp:473]
UE4Editor-Engine!UAnimSequence::CropRawAnimData(float,bool) [AnimSequence.cpp:2099]
UE4Editor-Persona!SAnimTimeline::OnCropAnimSequence(bool,float) [SAnimTimeline.cpp:490]
UE4Editor-Persona!TBaseSPMethodDelegateInstance<0,SAnimTimeline,0,void ,bool,float>::ExecuteIfSafe() [DelegateInstancesImpl.h:374]
UE4Editor-Slate!SMenuEntryBlock::OnClicked(bool) [SMenuEntryBlock.cpp:1068]
UE4Editor-Slate!SMenuEntryBlock::OnMenuItemButtonClicked() [SMenuEntryBlock.cpp:1019]
UE4Editor-Slate!TBaseSPMethodDelegateInstance<0,SMenuEntryBlock,0,FReply >::Execute() [DelegateInstancesImpl.h:298]
UE4Editor-Slate!SButton::ExecuteOnClick() [SButton.cpp:385]
UE4Editor-Slate!SButton::OnMouseButtonUp(FGeometry const &,FPointerEvent const &) [SButton.cpp:304]
UE4Editor-Slate!SMenuEntryButton::OnMouseButtonUp(FGeometry const &,FPointerEvent const &) [SMenuEntryBlock.cpp:386]
UE4Editor-Slate!FEventRouter::Route<FReply,FEventRouter::FToLeafmostPolicy,FPointerEvent,<lambda_cc5aea9e7377b04ce85c30c65ec3889b> >  [SlateApplication.cpp:372]
UE4Editor-Slate!FSlateApplication::RoutePointerUpEvent(FWidgetPath const &,FPointerEvent const &) [SlateApplication.cpp:4675]
UE4Editor-Slate!FSlateApplication::ProcessMouseButtonUpEvent(FPointerEvent const &) [SlateApplication.cpp:5198]
UE4Editor-Slate!FSlateApplication::OnMouseUp(EMouseButtons::Type,FVector2D) [SlateApplication.cpp:5166]
UE4Editor-ApplicationCore!FWindowsApplication::ProcessDeferredMessage(FDeferredWindowsMessage const &) [WindowsApplication.cpp:2133]
UE4Editor-ApplicationCore!FWindowsApplication::DeferMessage(TSharedPtr<FWindowsWindow,0> &,HWND__ *,unsigned int,unsigned _int64,_int64,int,int,unsigned int) [WindowsApplication.cpp:2585]
UE4Editor-ApplicationCore!FWindowsApplication::ProcessMessage(HWND__ *,unsigned int,unsigned _int64,_int64) [WindowsApplication.cpp:1809]
UE4Editor-ApplicationCore!FWindowsApplication::AppWndProc(HWND__ *,unsigned int,unsigned _int64,_int64) [WindowsApplication.cpp:852]
USER32!23cf0000  + 15c7d
USER32!23cf0000  + 15672
UE4Editor-ApplicationCore!FWindowsPlatformApplicationMisc::PumpMessages(bool) [WindowsPlatformApplicationMisc.cpp:130]
UE4Editor!FEngineLoop::Tick() [LaunchEngineLoop.cpp:4762]
UE4Editor!GuardedMain(wchar_t const *) [Launch.cpp:169]
UE4Editor!GuardedMainWrapper(wchar_t const *) [LaunchWindows.cpp:137]

Have Comments or More Details?

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

4
Login to Vote

Duplicate
ComponentOLD - Anim
Affects Versions4.25
Target Fix4.26
CreatedAug 26, 2020
ResolvedSep 7, 2020
UpdatedSep 8, 2020
View Jira Issue