Description

The editor crashes trying to find an event on the other level sequence when playing back the new one.

Steps to Reproduce
  1. Create two sequences with event tracks in them
  2. Add a key to each event section and add a binding to them
  3. Add one to the level as a level sequence actor
  4. In your level blueprint trigger the playback of that sequence on the actor (e.g. on begin play)
  5. Add an OnFinished event to the sequence player that calls SetSequence with the 2nd sequence and then Play
  6. PIE, and change sequences

RESULT:{}

The editor crashes

Callstack

`UObject::FindFunctionChecked'::`10'::<lambda_1>::operator()<FLogCategoryLogScriptCore,wchar_t [33],wchar_t const ,wchar_t const *>(const FLogCategoryLogScriptCore &,const wchar_t (&)[33],const wchar_t *const &,const wchar_t *const &) ScriptCore.cpp:1446 DispatchCheckVerify<void,`UObject::FindFunctionChecked'::`10'::<lambda_1>,FLogCategoryLogScriptCore,wchar_t [33],wchar_t const *,wchar_t const *>(<lambda_1> &&,const FLogCategoryLogScriptCore &,const wchar_t (&)[33],const wchar_t *const &,const wchar_t *const &) AssertionMacros.h:188 UObject::FindFunctionChecked(FName) ScriptCore.cpp:1446 UObject::execLocalVirtualFunction(UObject *,FFrame &,void *const) ScriptCore.cpp:3197 FFrame::Step(UObject *,void *const) ScriptCore.cpp:467 ProcessLocalScriptFunction(UObject *,FFrame &,void *const) ScriptCore.cpp:1223 UObject::ProcessInternal(UObject *,FFrame &,void *const) ScriptCore.cpp:1293 UFunction::Invoke(UObject *,FFrame &,void *const) Class.cpp:6408 UObject::ProcessEvent(UFunction *,void *) ScriptCore.cpp:2129 UMovieSceneEventSystem::TriggerEvents(TArrayView<FMovieSceneEventTriggerData const ,int>,IMovieScenePlayer *) MovieSceneEventSystems.cpp:173 UMovieSceneEventSystem::TriggerAllEvents() MovieSceneEventSystems.cpp:120 TBaseUObjectMethodDelegateInstance<0,UMovieScenePostEvalEventSystem,void _cdecl(void),FDefaultDelegateUserPolicy>::ExecuteIfSafe() DelegateInstancesImpl.h:550 TMulticastDelegateBase<FDefaultDelegateUserPolicy>::Broadcast<IBaseDelegateInstance<void __cdecl(void),FDefaultDelegateUserPolicy>,TDelegate<void __cdecl(void),FDefaultDelegateUserPolicy> >() MulticastDelegateBase.h:204 FMovieSceneEntitySystemRunner::GameThread_EventTriggerPhase(UMovieSceneEntitySystemLinker *) MovieSceneEntitySystemRunner.cpp:988 FMovieSceneEntitySystemRunner::FlushNext(UMovieSceneEntitySystemLinker *) MovieSceneEntitySystemRunner.cpp:386 FMovieSceneEntitySystemRunner::FlushOutstanding(double,ERunnerFlushState) MovieSceneEntitySystemRunner.cpp:484 FMovieSceneEntitySystemRunner::Flush(double) MovieSceneEntitySystemRunner.cpp:421 UMovieSceneSequencePlayer::UpdateMovieSceneInstance(FMovieSceneEvaluationRange,Type,const UMovieSceneSequencePlayer::FMovieSceneUpdateArgs &) MovieSceneSequencePlayer.cpp:1227 ULevelSequencePlayer::UpdateMovieSceneInstance(FMovieSceneEvaluationRange,Type,const UMovieSceneSequencePlayer::FMovieSceneUpdateArgs &) LevelSequencePlayer.cpp:179 UMovieSceneSequencePlayer::UpdateMovieSceneInstance(FMovieSceneEvaluationRange,Type,bool) MovieSceneSequencePlayer.cpp:1188 UMovieSceneSequencePlayer::PlayInternal() MovieSceneSequencePlayer.cpp:289 UMovieSceneSequencePlayer::Play() MovieSceneSequencePlayer.cpp:194 UMovieSceneSequencePlayer::execPlay(UObject *,FFrame &,void *const) MovieSceneSequencePlayer.gen.cpp:843 UFunction::Invoke(UObject *,FFrame &,void *const) Class.cpp:6408 UObject::CallFunction(FFrame &,void *const,UFunction *) ScriptCore.cpp:1126 UObject::execFinalFunction(UObject *,FFrame &,void *const) ScriptCore.cpp:3190 FFrame::Step(UObject *,void *const) ScriptCore.cpp:467 UObject::ProcessContextOpcode(FFrame &,void *const,bool) ScriptCore.cpp:3071 UObject::execContext(UObject *,FFrame &,void *const) ScriptCore.cpp:3046 FFrame::Step(UObject *,void *const) ScriptCore.cpp:467 ProcessLocalScriptFunction(UObject *,FFrame &,void *const) ScriptCore.cpp:1223 ProcessScriptFunction<void (cdecl)(UObject ,FFrame &,void *)>(UObject *,UFunction *,FFrame &,void *const,void [Image Removed](UObject *, FFrame &, void *)) ScriptCore.cpp:1023 ProcessLocalFunction(UObject *,UFunction *,FFrame &,void *const) ScriptCore.cpp:1266 UObject::execLocalFinalFunction(UObject *,FFrame &,void *const) ScriptCore.cpp:3204 FFrame::Step(UObject *,void *const) ScriptCore.cpp:467 ProcessLocalScriptFunction(UObject *,FFrame &,void *const) ScriptCore.cpp:1223 UObject::ProcessInternal(UObject *,FFrame &,void *const) ScriptCore.cpp:1293 UFunction::Invoke(UObject *,FFrame &,void *const) Class.cpp:6408 UObject::ProcessEvent(UFunction *,void *) ScriptCore.cpp:2129 AActor::ProcessEvent(UFunction *,void *) Actor.cpp:1055 TScriptDelegate<FWeakObjectPtr>::ProcessDelegate<UObject>(void *) ScriptDelegates.h:289 TMulticastScriptDelegate<FWeakObjectPtr>::ProcessMulticastDelegate<UObject>(void *) ScriptDelegates.h:570 FOnMovieSceneSequencePlayerEvent_DelegateWrapper(const TMulticastScriptDelegate<FWeakObjectPtr> &) MovieSceneSequencePlayer.gen.cpp:64 `UMovieSceneSequencePlayer::StopInternal'::`8'::<lambda_1>::operator()() MovieSceneSequencePlayer.cpp:448 TWeakBaseFunctorDelegateInstance<UMovieSceneSequencePlayer,void __cdecl(void),FDefaultDelegateUserPolicy,`UMovieSceneSequencePlayer::StopInternal'::`8'::<lambda_1> >::ExecuteIfSafe() DelegateInstancesImpl.h:839 TDelegate<void __cdecl(void),FDefaultDelegateUserPolicy>::ExecuteIfBound<void,0>() DelegateSignatureImpl.inl:651 FMovieSceneEntitySystemRunner::QueueFinalUpdateImpl(FInstanceHandle,TDelegate<void __cdecl(void),FDefaultDelegateUserPolicy> &&,bool) MovieSceneEntitySystemRunner.cpp:247 FMovieSceneEntitySystemRunner::QueueFinalUpdate(FInstanceHandle,TDelegate<void __cdecl(void),FDefaultDelegateUserPolicy> &&) MovieSceneEntitySystemRunner.cpp:206 UMovieSceneSequencePlayer::StopInternal(FFrameTime) MovieSceneSequencePlayer.cpp:463 UMovieSceneSequencePlayer::Stop() MovieSceneSequencePlayer.cpp:380 UMovieSceneSequencePlayer::execStop(UObject *,FFrame &,void *const) MovieSceneSequencePlayer.gen.cpp:800 UFunction::Invoke(UObject *,FFrame &,void *const) Class.cpp:6408 UObject::CallFunction(FFrame &,void *const,UFunction *) ScriptCore.cpp:1126 UObject::execFinalFunction(UObject *,FFrame &,void *const) ScriptCore.cpp:3190 FFrame::Step(UObject *,void *const) ScriptCore.cpp:467 UObject::ProcessContextOpcode(FFrame &,void *const,bool) ScriptCore.cpp:3071 UObject::execContext(UObject *,FFrame &,void *const) ScriptCore.cpp:3046 FFrame::Step(UObject *,void *const) ScriptCore.cpp:467 ProcessLocalScriptFunction(UObject *,FFrame &,void *const) ScriptCore.cpp:1223 ProcessScriptFunction<void (cdecl)(UObject *,FFrame &,void *)>(UObject *,UFunction *,FFrame &,void *const,void [Image Removed](UObject *, FFrame &, void *)) ScriptCore.cpp:1023 ProcessLocalFunction(UObject *,UFunction *,FFrame &,void *const) ScriptCore.cpp:1266 UObject::execLocalFinalFunction(UObject *,FFrame &,void *const) ScriptCore.cpp:3204 FFrame::Step(UObject *,void *const) ScriptCore.cpp:467 ProcessLocalScriptFunction(UObject *,FFrame &,void *const) ScriptCore.cpp:1223 UObject::ProcessInternal(UObject *,FFrame &,void *const) ScriptCore.cpp:1293 UFunction::Invoke(UObject *,FFrame &,void *const) Class.cpp:6408 UObject::ProcessEvent(UFunction *,void *) ScriptCore.cpp:2129 AActor::ProcessEvent(UFunction *,void *) Actor.cpp:1055 TScriptDelegate<FWeakObjectPtr>::ProcessDelegate<UObject>(void *) ScriptDelegates.h:289 FInputActionHandlerDynamicSignature_DelegateWrapper(const TScriptDelegate<FWeakObjectPtr> &,FKey) InputComponent.gen.cpp:71 FInputActionHandlerDynamicSignature::Execute(FKey) InputComponent.h:127 FInputActionUnifiedDelegate::Execute(FKey) InputComponent.h:302 UPlayerInput::ProcessInputStack(const TArray<UInputComponent *,TSizedDefaultAllocator<32> > &,const float,const bool) PlayerInput.cpp:1435 UEnhancedPlayerInput::ProcessInputStack(const TArray<UInputComponent *,TSizedDefaultAllocator<32> > &,const float,const bool) EnhancedPlayerInput.cpp:321 APlayerController::ProcessPlayerInput(const float,const bool) PlayerController.cpp:2709 APlayerController::TickPlayerInput(const float,const bool) PlayerController.cpp:4989 APlayerController::PlayerTick(float) PlayerController.cpp:2311 APlayerController::TickActor(float,ELevelTick,FActorTickFunction &) PlayerController.cpp:5142 FActorTickFunction::ExecuteTick(float,ELevelTick,Type,const TRefCountPtr<FGraphEvent> &) Actor.cpp:212 FTickFunctionTask::DoTask(Type,const TRefCountPtr<FGraphEvent> &) TickTaskManager.cpp:275 TGraphTask<FTickFunctionTask>::ExecuteTask(TArray<FBaseGraphTask *,TSizedDefaultAllocator<32> > &,Type,bool) TaskGraphInterfaces.h:1326 FNamedTaskThread::ProcessTasksNamedThread(int,bool) TaskGraph.cpp:758 FNamedTaskThread::ProcessTasksUntilQuit(int) TaskGraph.cpp:648 FTaskGraphCompatibilityImplementation::ProcessThreadUntilRequestReturn(Type) TaskGraph.cpp:2069 FTaskGraphCompatibilityImplementation::WaitUntilTasksComplete(const TArray<TRefCountPtr<FGraphEvent>,TSizedInlineAllocator<4,32,TSizedDefaultAllocator<32> > > &,Type) TaskGraph.cpp:2123 FTickTaskSequencer::ReleaseTickGroup(ETickingGroup,bool) TickTaskManager.cpp:555 FTickTaskManager::RunTickGroup(ETickingGroup,bool) TickTaskManager.cpp:1582 UWorld::RunTickGroup(ETickingGroup,bool) LevelTick.cpp:770 UWorld::Tick(ELevelTick,float) LevelTick.cpp:1514 UEditorEngine::Tick(float,bool) EditorEngine.cpp:1903 UUnrealEdEngine::Tick(float,bool) UnrealEdEngine.cpp:516 FEngineLoop::Tick() LaunchEngineLoop.cpp:5795 EngineTick() Launch.cpp:61 GuardedMain(const wchar_t *) Launch.cpp:190 LaunchWindowsStartup(HINSTANCE_ *,HINSTANCE__ *,char *,int,const wchar_t *) LaunchWindows.cpp:233 WinMain(HINSTANCE__ *,HINSTANCE__ *,char *,int) LaunchWindows.cpp:284 [Inlined] invoke_main() 0x00007ff76c606c36 __scrt_common_main_seh() 0x00007ff76c606c15 <unknown> 0x00007ffa0b837614 <unknown> 0x00007ffa0c8426a1

Have Comments or More Details?

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

3
Login to Vote

Fixed
ComponentUE - Anim - Sequencer
Affects Versions5.1
Target Fix5.3
Fix Commit24642438
Main Commit24642438
CreatedMar 9, 2023
ResolvedMar 14, 2023
UpdatedApr 29, 2023
View Jira Issue