Description

A crash occurs after adding an additional camera track, undoing the additional, and then calling garbage collection

Appears to be the same callstack found here UE-60944

Steps to Reproduce
  1. Download the attached project
  2. Open the project
  3. Open "NewLevelSequence"
  4. Add a track to "Camera Anim"
  5. Select the Camera Anim "NewCameraAnim"
  6. Undo (ctrl+z was used for this test)
  7. Press the '~' key to bring up the console
  8. Use the command "obj gc" (without quotes)

Results: The engine will crash
Expected: The track would be removed and then garbage collection would be run

Callstack
Unhandled exception

UE4Editor_MovieScene!UMovieSceneTrack::GetMaxRowIndex() [d:\build\++ue4\sync\engine\source\runtime\moviescene\private\moviescenetrack.cpp:251]
UE4Editor_Sequencer!FSequencerTrackNode::GetNodeHeight() [d:\build\++ue4\sync\engine\source\editor\sequencer\private\displaynodes\sequencertracknode.cpp:488]
UE4Editor_Sequencer!UE4Function_Private::TFunctionRefCaller<<lambda_65325ce9a71d25064562921fffd68bf6>,FOptionalSize __cdecl(void)>::Call() [d:\build\++ue4\sync\engine\source\runtime\core\public\templates\function.h:478]
UE4Editor_Sequencer!TBaseFunctorDelegateInstance<FOptionalSize __cdecl(void),TFunction<FOptionalSize __cdecl(void)> >::Execute() [d:\build\++ue4\sync\engine\source\runtime\core\public\delegates\delegateinstancesimpl.h:894]
UE4Editor_Slate!SBox::ComputeDesiredSize() [d:\build\++ue4\sync\engine\source\runtime\slate\private\widgets\layout\sbox.cpp:156]
UE4Editor_SlateCore!SWidget::CacheDesiredSize() [d:\build\++ue4\sync\engine\source\runtime\slatecore\private\widgets\swidget.cpp:621]
UE4Editor_SlateCore!SWidget::SlatePrepass() [d:\build\++ue4\sync\engine\source\runtime\slatecore\private\widgets\swidget.cpp:520]
UE4Editor_SlateCore!SWidget::SlatePrepass() [d:\build\++ue4\sync\engine\source\runtime\slatecore\private\widgets\swidget.cpp:512]
UE4Editor_SlateCore!SWidget::SlatePrepass() [d:\build\++ue4\sync\engine\source\runtime\slatecore\private\widgets\swidget.cpp:512]
UE4Editor_SlateCore!SWidget::SlatePrepass() [d:\build\++ue4\sync\engine\source\runtime\slatecore\private\widgets\swidget.cpp:512]
UE4Editor_SlateCore!SWidget::SlatePrepass() [d:\build\++ue4\sync\engine\source\runtime\slatecore\private\widgets\swidget.cpp:512]
UE4Editor_SlateCore!SWidget::SlatePrepass() [d:\build\++ue4\sync\engine\source\runtime\slatecore\private\widgets\swidget.cpp:512]
UE4Editor_SlateCore!SWidget::SlatePrepass() [d:\build\++ue4\sync\engine\source\runtime\slatecore\private\widgets\swidget.cpp:512]
UE4Editor_SlateCore!SWidget::SlatePrepass() [d:\build\++ue4\sync\engine\source\runtime\slatecore\private\widgets\swidget.cpp:512]
UE4Editor_SlateCore!SWidget::SlatePrepass() [d:\build\++ue4\sync\engine\source\runtime\slatecore\private\widgets\swidget.cpp:512]
UE4Editor_SlateCore!SWidget::SlatePrepass() [d:\build\++ue4\sync\engine\source\runtime\slatecore\private\widgets\swidget.cpp:512]
UE4Editor_SlateCore!SWidget::SlatePrepass() [d:\build\++ue4\sync\engine\source\runtime\slatecore\private\widgets\swidget.cpp:512]
UE4Editor_SlateCore!SWidget::SlatePrepass() [d:\build\++ue4\sync\engine\source\runtime\slatecore\private\widgets\swidget.cpp:512]
UE4Editor_SlateCore!SWidget::SlatePrepass() [d:\build\++ue4\sync\engine\source\runtime\slatecore\private\widgets\swidget.cpp:512]
UE4Editor_SlateCore!SWidget::SlatePrepass() [d:\build\++ue4\sync\engine\source\runtime\slatecore\private\widgets\swidget.cpp:512]
UE4Editor_SlateCore!SWidget::SlatePrepass() [d:\build\++ue4\sync\engine\source\runtime\slatecore\private\widgets\swidget.cpp:512]
UE4Editor_SlateCore!SWidget::SlatePrepass() [d:\build\++ue4\sync\engine\source\runtime\slatecore\private\widgets\swidget.cpp:512]
UE4Editor_SlateCore!SWidget::SlatePrepass() [d:\build\++ue4\sync\engine\source\runtime\slatecore\private\widgets\swidget.cpp:512]
UE4Editor_SlateCore!SWidget::SlatePrepass() [d:\build\++ue4\sync\engine\source\runtime\slatecore\private\widgets\swidget.cpp:512]
UE4Editor_SlateCore!SWidget::SlatePrepass() [d:\build\++ue4\sync\engine\source\runtime\slatecore\private\widgets\swidget.cpp:512]
UE4Editor_SlateCore!SWidget::SlatePrepass() [d:\build\++ue4\sync\engine\source\runtime\slatecore\private\widgets\swidget.cpp:512]
UE4Editor_SlateCore!SWidget::SlatePrepass() [d:\build\++ue4\sync\engine\source\runtime\slatecore\private\widgets\swidget.cpp:512]
UE4Editor_SlateCore!SWidget::SlatePrepass() [d:\build\++ue4\sync\engine\source\runtime\slatecore\private\widgets\swidget.cpp:512]
UE4Editor_SlateCore!SWidget::SlatePrepass() [d:\build\++ue4\sync\engine\source\runtime\slatecore\private\widgets\swidget.cpp:512]
UE4Editor_SlateCore!SWidget::SlatePrepass() [d:\build\++ue4\sync\engine\source\runtime\slatecore\private\widgets\swidget.cpp:512]
UE4Editor_SlateCore!SWidget::SlatePrepass() [d:\build\++ue4\sync\engine\source\runtime\slatecore\private\widgets\swidget.cpp:512]
UE4Editor_SlateCore!SWidget::SlatePrepass() [d:\build\++ue4\sync\engine\source\runtime\slatecore\private\widgets\swidget.cpp:512]
UE4Editor_SlateCore!SWidget::SlatePrepass() [d:\build\++ue4\sync\engine\source\runtime\slatecore\private\widgets\swidget.cpp:512]
UE4Editor_SlateCore!SWidget::SlatePrepass() [d:\build\++ue4\sync\engine\source\runtime\slatecore\private\widgets\swidget.cpp:512]
UE4Editor_SlateCore!SWidget::SlatePrepass() [d:\build\++ue4\sync\engine\source\runtime\slatecore\private\widgets\swidget.cpp:512]
UE4Editor_SlateCore!SWidget::SlatePrepass() [d:\build\++ue4\sync\engine\source\runtime\slatecore\private\widgets\swidget.cpp:512]
UE4Editor_SlateCore!SWidget::SlatePrepass() [d:\build\++ue4\sync\engine\source\runtime\slatecore\private\widgets\swidget.cpp:512]
UE4Editor_SlateCore!SWidget::SlatePrepass() [d:\build\++ue4\sync\engine\source\runtime\slatecore\private\widgets\swidget.cpp:512]
UE4Editor_SlateCore!SWidget::SlatePrepass() [d:\build\++ue4\sync\engine\source\runtime\slatecore\private\widgets\swidget.cpp:512]
UE4Editor_SlateCore!SWidget::SlatePrepass() [d:\build\++ue4\sync\engine\source\runtime\slatecore\private\widgets\swidget.cpp:512]
UE4Editor_SlateCore!SWidget::SlatePrepass() [d:\build\++ue4\sync\engine\source\runtime\slatecore\private\widgets\swidget.cpp:512]
UE4Editor_SlateCore!SWidget::SlatePrepass() [d:\build\++ue4\sync\engine\source\runtime\slatecore\private\widgets\swidget.cpp:512]
UE4Editor_SlateCore!SWidget::SlatePrepass() [d:\build\++ue4\sync\engine\source\runtime\slatecore\private\widgets\swidget.cpp:512]
UE4Editor_SlateCore!SWidget::SlatePrepass() [d:\build\++ue4\sync\engine\source\runtime\slatecore\private\widgets\swidget.cpp:512]
UE4Editor_SlateCore!SWidget::SlatePrepass() [d:\build\++ue4\sync\engine\source\runtime\slatecore\private\widgets\swidget.cpp:512]
UE4Editor_SlateCore!SWidget::SlatePrepass() [d:\build\++ue4\sync\engine\source\runtime\slatecore\private\widgets\swidget.cpp:512]
UE4Editor_SlateCore!SWidget::SlatePrepass() [d:\build\++ue4\sync\engine\source\runtime\slatecore\private\widgets\swidget.cpp:512]
UE4Editor_SlateCore!SWidget::SlatePrepass() [d:\build\++ue4\sync\engine\source\runtime\slatecore\private\widgets\swidget.cpp:512]
UE4Editor_Slate!PrepassWindowAndChildren() [d:\build\++ue4\sync\engine\source\runtime\slate\private\framework\application\slateapplication.cpp:1427]
UE4Editor_Slate!FSlateApplication::DrawPrepass() [d:\build\++ue4\sync\engine\source\runtime\slate\private\framework\application\slateapplication.cpp:1473]
UE4Editor_Slate!FSlateApplication::PrivateDrawWindows() [d:\build\++ue4\sync\engine\source\runtime\slate\private\framework\application\slateapplication.cpp:1520]
UE4Editor_Slate!FSlateApplication::DrawWindows() [d:\build\++ue4\sync\engine\source\runtime\slate\private\framework\application\slateapplication.cpp:1246]
UE4Editor_Slate!FSlateApplication::TickApplication() [d:\build\++ue4\sync\engine\source\runtime\slate\private\framework\application\slateapplication.cpp:1848]
UE4Editor_Slate!FSlateApplication::Tick() [d:\build\++ue4\sync\engine\source\runtime\slate\private\framework\application\slateapplication.cpp:1679]
UE4Editor!FEngineLoop::Tick() [d:\build\++ue4\sync\engine\source\runtime\launch\private\launchengineloop.cpp:4071]
UE4Editor!GuardedMain() [d:\build\++ue4\sync\engine\source\runtime\launch\private\launch.cpp:168]
UE4Editor!GuardedMainWrapper() [d:\build\++ue4\sync\engine\source\runtime\launch\private\windows\launchwindows.cpp:145]
UE4Editor!WinMain() [d:\build\++ue4\sync\engine\source\runtime\launch\private\windows\launchwindows.cpp:275]
UE4Editor!__scrt_common_main_seh() [d:\agent\_work\3\s\src\vctools\crt\vcstartup\src\startup\exe_common.inl:288]
kernel32
ntdll

Have Comments or More Details?

There's no existing public thread on this issue, so head over toAnswerHub just mention UE-73000 in the post.

0
Login to Vote

Fixed
ComponentSequencer
Affects Versions4.224.20.34.234.21.2
Target Fix4.22.1
Fix Commit6014456
Main Commit6014458
CreatedApr 18, 2019
ResolvedApr 19, 2019
UpdatedMay 13, 2019