Description

This is a Regression. Tested in //UE5/Release-5.1 CL23901901

Using Bake To Control Rig on a Spawned Actor in a Subsequence with Play Range that exceeds the Subsequence causes a Crash.

Steps to Reproduce
  1. Create a new Third Person Template project
  2. Select the Clapper Board Icon then select Add Level Sequence with Shots
  3. Change the Number of Shots to 1
  4. Select Create Level Sequence with Shots
  5. Double click the Shot in the Sequencer
  6. In the Content Browser navigate to Content/Characters/Mannequins/Meshes
  7. Shift + left click drag SKM_Manny from the Content Browser into the level
    • SKM_Manny should now be added to the Sequencer and marked as Spawned
  8. Delete the CR_Mannequin_Body track form the Sequencer
  9. Select the +Animation next the Animation track then search for and select MF_Run_Fwd
  10. Drag the Start Range backwards to -15(or any amount)
    • You may need to scrub forward so that the green Start Range is visible in the timeline
  11. Right click SKM_Manny in the Sequencer then select Bake to Control Rig > CR_Mannequin_Body
  12. In the Options For Baking menu select Create

Expected Results:
The Control Rig is baked, or an error is presented preventing the crash.

Actual Results:
The editor crashes with an Assertion

Callstack
Assertion failed: MovieScene [File:D:\build\++UE5\Sync\Engine\Plugins\Animation\AnimationData\Source\AnimationData\Private\AnimSequencerDataModel.cpp] [Line: 931] No Movie Scene found for SequencerDataModel
UnrealEditor_AnimationData!UAnimationSequencerDataModel::ValidateSequencerData() [D:\build\++UE5\Sync\Engine\Plugins\Animation\AnimationData\Source\AnimationData\Private\AnimSequencerDataModel.cpp:931]
UnrealEditor_AnimationData!UAnimationSequencerDataModel::GetNumberOfFrames() [D:\build\++UE5\Sync\Engine\Plugins\Animation\AnimationData\Source\AnimationData\Private\AnimSequencerDataModel.cpp:255]
UnrealEditor_AnimationData!UAnimationSequencerDataModel::GetNumberOfKeys() [D:\build\++UE5\Sync\Engine\Plugins\Animation\AnimationData\Source\AnimationData\Private\AnimSequencerDataModel.cpp:269]
UnrealEditor_ControlRig!UMovieSceneControlRigParameterSection::LoadAnimSequenceIntoThisSection() [D:\build\++UE5\Sync\Engine\Plugins\Animation\ControlRig\Source\ControlRig\Private\Sequencer\MovieSceneControlRigParameterSection.cpp:2922]
UnrealEditor_ControlRigEditor!FControlRigParameterTrackEditor::BakeToControlRig() [D:\build\++UE5\Sync\Engine\Plugins\Animation\ControlRig\Source\ControlRigEditor\Private\Sequencer\ControlRigParameterTrackEditor.cpp:1182]
UnrealEditor_ControlRigEditor!TBaseRawMethodDelegateInstance<0,FControlRigParameterTrackEditor,void __cdecl(UClass *),FDefaultDelegateUserPolicy,FGuid,UObject *,USkeletalMeshComponent *,USkeleton *>::ExecuteIfSafe() [D:\build\++UE5\Sync\Engine\Source\Runtime\Core\Public\Delegates\DelegateInstancesImpl.h:425]
UnrealEditor_ClassViewer!SClassViewer::OnClassViewerSelectionChanged() [D:\build\++UE5\Sync\Engine\Source\Editor\ClassViewer\Private\SClassViewer.cpp:1801]
UnrealEditor_ClassViewer!TBaseSPMethodDelegateInstance<0,SClassViewer,1,void __cdecl(TSharedPtr<FClassViewerNode,1>,enum ESelectInfo::Type),FDefaultDelegateUserPolicy>::ExecuteIfSafe() [D:\build\++UE5\Sync\Engine\Source\Runtime\Core\Public\Delegates\DelegateInstancesImpl.h:292]
UnrealEditor_ClassViewer!SListView<TSharedPtr<FClassViewerNode,1> >::Private_SignalSelectionChanged() [D:\build\++UE5\Sync\Engine\Source\Runtime\Slate\Public\Widgets\Views\SListView.h:992]
UnrealEditor_ClassViewer!STableRow<TSharedPtr<FString,1> >::OnMouseButtonUp() [D:\build\++UE5\Sync\Engine\Source\Runtime\Slate\Public\Widgets\Views\STableRow.h:582]
UnrealEditor_Slate!<lambda_51e270ca99ea7ce852539efd04dd453f>::operator()() [D:\build\++UE5\Sync\Engine\Source\Runtime\Slate\Private\Framework\Application\SlateApplication.cpp:5129]
UnrealEditor_Slate!FEventRouter::Route<FReply,FEventRouter::FToLeafmostPolicy,FPointerEvent,<lambda_51e270ca99ea7ce852539efd04dd453f> >() [D:\build\++UE5\Sync\Engine\Source\Runtime\Slate\Private\Framework\Application\SlateApplication.cpp:420]
UnrealEditor_Slate!FSlateApplication::RoutePointerUpEvent() [D:\build\++UE5\Sync\Engine\Source\Runtime\Slate\Private\Framework\Application\SlateApplication.cpp:5115]
UnrealEditor_Slate!FSlateApplication::ProcessMouseButtonUpEvent() [D:\build\++UE5\Sync\Engine\Source\Runtime\Slate\Private\Framework\Application\SlateApplication.cpp:5684]
UnrealEditor_Slate!FSlateApplication::OnMouseUp() [D:\build\++UE5\Sync\Engine\Source\Runtime\Slate\Private\Framework\Application\SlateApplication.cpp:5649]
UnrealEditor_ApplicationCore!FWindowsApplication::ProcessDeferredMessage() [D:\build\++UE5\Sync\Engine\Source\Runtime\ApplicationCore\Private\Windows\WindowsApplication.cpp:2219]
UnrealEditor_ApplicationCore!FWindowsApplication::DeferMessage() [D:\build\++UE5\Sync\Engine\Source\Runtime\ApplicationCore\Private\Windows\WindowsApplication.cpp:2726]
UnrealEditor_ApplicationCore!FWindowsApplication::ProcessMessage() [D:\build\++UE5\Sync\Engine\Source\Runtime\ApplicationCore\Private\Windows\WindowsApplication.cpp:1895]
UnrealEditor_ApplicationCore!FWindowsApplication::AppWndProc() [D:\build\++UE5\Sync\Engine\Source\Runtime\ApplicationCore\Private\Windows\WindowsApplication.cpp:925]
user32
user32
UnrealEditor_ApplicationCore!FWindowsPlatformApplicationMisc::PumpMessages() [D:\build\++UE5\Sync\Engine\Source\Runtime\ApplicationCore\Private\Windows\WindowsPlatformApplicationMisc.cpp:142]
UnrealEditor!FEngineLoop::Tick() [D:\build\++UE5\Sync\Engine\Source\Runtime\Launch\Private\LaunchEngineLoop.cpp:5736]
UnrealEditor!GuardedMain() [D:\build\++UE5\Sync\Engine\Source\Runtime\Launch\Private\Launch.cpp:188]
UnrealEditor!GuardedMainWrapper() [D:\build\++UE5\Sync\Engine\Source\Runtime\Launch\Private\Windows\LaunchWindows.cpp:107]
UnrealEditor!LaunchWindowsStartup() [D:\build\++UE5\Sync\Engine\Source\Runtime\Launch\Private\Windows\LaunchWindows.cpp:244]
UnrealEditor!WinMain() [D:\build\++UE5\Sync\Engine\Source\Runtime\Launch\Private\Windows\LaunchWindows.cpp:284]
UnrealEditor!__scrt_common_main_seh() [D:\a\_work\1\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 to Questions & Answers just mention UE-189835 in the post.

2
Login to Vote

Fixed
ComponentUE - Anim - Sequencer - Anim in Engine
Affects Versions5.2.1
Target Fix5.3
Fix Commit26473743
Main Commit26473785
CreatedJun 28, 2023
ResolvedJul 19, 2023
UpdatedAug 28, 2023
View Jira Issue