Description

A crash occurs when you press the Shift key + [.] (Period) key after double-clicking on one of the arranged level sequences in the master sequence.

The cause is ActiveTemplateIDs of FSequencer. The first element is 0, which is an illegal value. Therefore,

RootTemplateInstance.GetHierarchy (). FindSubData (OuterSequenceID) ->RootToSequenceTransform

becomes an invalid value and will crash with

FFrameTime CurrentTime = StartTime * RootTemplateInstance.GetHierarchy ().FindSubData(OuterSequenceID) -> RootToSequenceTransform;

in FSequencer::StepToNextShot() and FSequencer::StepToPreviousShot()

Steps to Reproduce
  1. Make Master Squence with along with multiple sub LevelSequences
  2. Open Master Sequence
  3. Double click sub LevelSequence to open it from Master Sequence
  4. Use "shift" + ", ( .)" to use StepToNextShot ( StepToPreviousShot )
  5. Crash

 

Callstack

UE4Editor-Sequencer.dll!operator*(FFrameTime InTime, const FMovieSceneSequenceTransform & RHS) Line 81 C++
> UE4Editor-Sequencer.dll!FSequencer::StepToNextShot() Line 6757 C++
UE4Editor-Sequencer.dll!TBaseSPMethodDelegateInstance<0,FSequencer,0,TTypeWrapper<void> __cdecl(void)>::Execute() Line 269 C++
UE4Editor-Sequencer.dll!TBaseSPMethodDelegateInstance<0,FSequencer,0,void __cdecl(void)>::ExecuteIfSafe() Line 345 C++
UE4Editor-Slate.dll!FUICommandList::ConditionalProcessCommandBindings(const FKey Key, bool bCtrl, bool bAlt, bool bShift, bool bCmd, bool bRepeat) Line 216 C++
UE4Editor-Slate.dll!FUICommandList::ProcessCommandBindings(const FKeyEvent & InKeyEvent) Line 160 C++
UE4Editor-Sequencer.dll!SSequencer::OnKeyDown(const FGeometry & MyGeometry, const FKeyEvent & InKeyEvent) Line 1752 C++
UE4Editor-Slate.dll!FSlateApplication::ProcessKeyDownEvent::__l31::<lambda>(const FArrangedWidget & SomeWidgetGettingEvent, const FKeyEvent & Event) Line 5043 C++
UE4Editor-Slate.dll!FEventRouter::Route<FReply,FEventRouter::FBubblePolicy,FKeyEvent,FReply <lambda>(const FArrangedWidget &, const FKeyEvent &) >(FSlateApplication * ThisApplication, FEventRouter::FBubblePolicy RoutingPolicy, FKeyEvent EventCopy, const FSlateApplication::ProcessKeyDownEvent::__l31::FReply <lambda>(const FArrangedWidget &, const FKeyEvent &) & Lambda) Line 268 C++
UE4Editor-Slate.dll!FEventRouter::RouteAlongFocusPath<FEventRouter::FBubblePolicy,FReply <lambda>(const FArrangedWidget &, const FKeyEvent &),FKeyEvent>(FSlateApplication * ThisApplication, FEventRouter::FBubblePolicy RoutingPolicy, FKeyEvent KeyEventCopy, const FSlateApplication::ProcessKeyDownEvent::__l31::FReply <lambda>(const FArrangedWidget &, const FKeyEvent &) & Lambda) Line 249 C++
UE4Editor-Slate.dll!FSlateApplication::ProcessKeyDownEvent(FKeyEvent & InKeyEvent) Line 5041 C++
UE4Editor-Slate.dll!FSlateApplication::OnKeyDown(const int KeyCode, const unsigned int CharacterCode, const bool IsRepeat) Line 4953 C++
UE4Editor-ApplicationCore.dll!FWindowsApplication::ProcessDeferredMessage(const FDeferredWindowsMessage & DeferredMessage) Line 1574 C++
UE4Editor-ApplicationCore.dll!FWindowsApplication::DeferMessage(TSharedPtr<FWindowsWindow,0> & NativeWindow, HWND__ * InHWnd, unsigned int InMessage, unsigned __int64 InWParam, __int64 InLParam, int MouseX, int MouseY, unsigned int RawInputFlags) Line 2182 C++
UE4Editor-ApplicationCore.dll!FWindowsApplication::ProcessMessage(HWND__ * hwnd, unsigned int msg, unsigned __int64 wParam, __int64 lParam) Line 895 C++
UE4Editor-ApplicationCore.dll!FWindowsApplication::AppWndProc(HWND__ * hwnd, unsigned int msg, unsigned __int64 wParam, __int64 lParam) Line 732 C++
[External Code]
UE4Editor-ApplicationCore.dll!FWindowsPlatformApplicationMisc::PumpMessages(bool bFromMainLoop) Line 129 C++
UE4Editor.exe!FEngineLoop::Tick() Line 3411 C++
UE4Editor.exe!GuardedMain(const wchar_t * CmdLine, HINSTANCE__ * hInInstance, HINSTANCE__ * hPrevInstance, int nCmdShow) Line 166 C++
UE4Editor.exe!GuardedMainWrapper(const wchar_t * CmdLine, HINSTANCE__ * hInInstance, HINSTANCE__ * hPrevInstance, int nCmdShow) Line 144 C++
UE4Editor.exe!WinMain(HINSTANCE__ * hInInstance, HINSTANCE__ * hPrevInstance, char * __formal, int nCmdShow) Line 223 C++
[External Code]

Have Comments or More Details?

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

1
Login to Vote

Fixed
ComponentUE - Anim - Sequencer
Affects Versions4.19.24.20
Target Fix4.20.1
Fix Commit4228997
CreatedJul 24, 2018
ResolvedJul 24, 2018
UpdatedSep 19, 2018