Description

This issue is regression. It crash only 4.25, and it dosen't crash in 4.24.

Copy and past a specific track (spawnable, actor with event track, set endpoint) causes a crash in the editor. 

Steps to Reproduce
  1. Create a new level sequencer from "Cinematics->Add Level Sequence" in Editor.
  2. Open level sequence.
  3. Add actor to sequencer using drag and drop from viewport.
  4. Select and right click on actor, enable "Convert to spawnable".
  5. Add event track in actor's track.
  6. Adding two event in any points, and assign new event with "Properties->Key->Create New Endpoint".
  7. Save level sequencer.
  8. Select the actor track and drag and drop it into own level sequence (Ctrl+X, Ctrl+V).

Result:

 Crash occur.

Expect:

 Not crash.

 

Callstack

 

[Inline Frame] UE4Editor-MovieSceneTracks.dll!TArrayView<FMovieSceneEvent const>::RangeCheck(int Index) Line 196 C++
[Inline Frame] UE4Editor-MovieSceneTracks.dll!TArrayView<FMovieSceneEvent const>::operator[](int) Line 228 C++
UE4Editor-MovieSceneTracks.dll!FMovieSceneEventTriggerTemplate::FMovieSceneEventTriggerTemplate(const UMovieSceneEventTriggerSection & Section, const UMovieSceneEventTrack & Track) Line 483 C++
UE4Editor-MovieSceneTracks.dll!UMovieSceneEventTrack::CreateTemplateForSection(const UMovieSceneSection & InSection) Line 78 C++
UE4Editor-MovieScene.dll!UMovieSceneTrack::Compile(FMovieSceneEvaluationTrack & OutTrack, const FMovieSceneTrackCompilerArgs & Args) Line 243 C++
UE4Editor-MovieScene.dll!UMovieSceneTrack::GenerateTemplate(const FMovieSceneTrackCompilerArgs & Args) Line 198 C++
UE4Editor-MovieScene.dll!FMovieSceneEvaluationTemplateGenerator::ProcessTrack(const UMovieSceneTrack & Track, const FGuid & ObjectBindingId) Line 89 C++
UE4Editor-MovieScene.dll!FMovieSceneEvaluationTemplateGenerator::Generate() Line 48 C++
UE4Editor-MovieScene.dll!FMovieSceneRootEvaluationTemplateInstance::SetupFrame(UMovieSceneSequence * OverrideRootSequence, FMovieSceneSequenceID InOverrideRootID, FMovieSceneContext * InOutContext) Line 322 C++
UE4Editor-MovieScene.dll!FMovieSceneRootEvaluationTemplateInstance::Evaluate(FMovieSceneContext Context, IMovieScenePlayer & Player, FMovieSceneSequenceID InOverrideRootID) Line 242 C++
UE4Editor-Sequencer.dll!FSequencer::EvaluateInternal(FMovieSceneEvaluationRange InRange, bool bHasJumped) Line 2905 C++
UE4Editor-Sequencer.dll!FSequencer::NotifyMovieSceneDataChanged(EMovieSceneDataChangeType DataChangeType) Line 2231 C++
UE4Editor-Sequencer.dll!FSequencer::PasteObjectBindings(const FString & TextToImport, TArray<FNotificationInfo,TSizedDefaultAllocator<32>> & PasteErrors) Line 7873 C++
UE4Editor-Sequencer.dll!FSequencer::DoPaste() Line 7629 C++
UE4Editor-Sequencer.dll!SSequencer::DoPaste() Line 3419 C++
UE4Editor-Sequencer.dll!SSequencer::OnPaste() Line 3372 C++
[Inline Frame] UE4Editor-Sequencer.dll!TMemberFunctionCaller<SSequencer,void (__cdecl SSequencer::*)(void)>::operator()() Line 156 C++
[Inline Frame] UE4Editor-Sequencer.dll!UE4Tuple_Private::TTupleImpl<TIntegerSequence<unsigned int>>::ApplyAfter(TMemberFunctionCaller<SSequencer,void (__cdecl SSequencer::*)(void)> &&) Line 272 C++
[Inline Frame] UE4Editor-Sequencer.dll!TBaseSPMethodDelegateInstance<0,SSequencer,0,TTypeWrapper<void> __cdecl(void)>::Execute() Line 298 C++
UE4Editor-Sequencer.dll!TBaseSPMethodDelegateInstance<0,SSequencer,0,void __cdecl(void)>::ExecuteIfSafe() Line 374 C++
UE4Editor-Slate.dll!FUICommandList::ConditionalProcessCommandBindings(const FKey Key, bool bCtrl, bool bAlt, bool bShift, bool bCmd, bool bRepeat) Line 220 C++
UE4Editor-Slate.dll!FUICommandList::ProcessCommandBindings(const FKeyEvent & InKeyEvent) Line 164 C++
UE4Editor-Sequencer.dll!SSequencer::OnKeyDown(const FGeometry & MyGeometry, const FKeyEvent & InKeyEvent) Line 2704 C++
[Inline Frame] UE4Editor-Slate.dll!FSlateApplication::ProcessKeyDownEvent::__l28::<lambda_348e43676c71ef9c842236ae8e30eb35>::operator()(const FArrangedWidget &) Line 4208 C++
UE4Editor-Slate.dll!FEventRouter::Route<FReply,FEventRouter::FBubblePolicy,FKeyEvent,<lambda_348e43676c71ef9c842236ae8e30eb35>>(FSlateApplication * ThisApplication, FEventRouter::FBubblePolicy RoutingPolicy, FKeyEvent EventCopy, const FSlateApplication::ProcessKeyDownEvent::__l28::<lambda_348e43676c71ef9c842236ae8e30eb35> & Lambda) Line 372 C++
[Inline Frame] UE4Editor-Slate.dll!FEventRouter::RouteAlongFocusPath(FSlateApplication *) Line 353 C++
UE4Editor-Slate.dll!FSlateApplication::ProcessKeyDownEvent(const FKeyEvent & InKeyEvent) Line 4204 C++
UE4Editor-Slate.dll!FSlateApplication::OnKeyDown(const int KeyCode, const unsigned int CharacterCode, const bool IsRepeat) Line 4112 C++
UE4Editor-ApplicationCore.dll!FWindowsApplication::ProcessDeferredMessage(const FDeferredWindowsMessage & DeferredMessage) Line 1968 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 2585 C++
UE4Editor-ApplicationCore.dll!FWindowsApplication::ProcessMessage(HWND__ * hwnd, unsigned int msg, unsigned __int64 wParam, __int64 lParam) Line 1809 C++
UE4Editor-ApplicationCore.dll!FWindowsApplication::AppWndProc(HWND__ * hwnd, unsigned int msg, unsigned __int64 wParam, __int64 lParam) Line 852 C++
[External Code]
[Inline Frame] UE4Editor-ApplicationCore.dll!WinPumpMessages() Line 108 C++
UE4Editor-ApplicationCore.dll!FWindowsPlatformApplicationMisc::PumpMessages(bool bFromMainLoop) Line 130 C++
UE4Editor.exe!FEngineLoop::Tick() Line 4762 C++
[Inline Frame] UE4Editor.exe!EngineTick() Line 62 C++
UE4Editor.exe!GuardedMain(const wchar_t * CmdLine) Line 169 C++
UE4Editor.exe!WinMain(HINSTANCE__ * hInInstance, HINSTANCE__ * hPrevInstance, char * __formal, int nCmdShow) Line 257 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-95268 in the post.

3
Login to Vote

Cannot Reproduce
ComponentUE - Anim - Sequencer
Affects Versions4.25
Target Fix4.26
CreatedJul 13, 2020
ResolvedNov 12, 2020
UpdatedNov 16, 2020
View Jira Issue