Description

This is a somewhat common Sequencer crash that occurs in 4.17 and 4.18.

User Descriptions

Source Context

 15       FMovieSceneEvalTemplatePtr UMovieSceneCameraCutSection::GenerateTemplate() const
   16       {
   17       	TOptional<FTransform> CutTransform;
   18       
   19       	UMovieScene* MovieScene = GetTypedOuter<UMovieScene>();
   20       	check(MovieScene);
   21       
   22       	for (const FMovieSceneBinding& Binding : MovieScene->GetBindings())
   23 ***** 	{
   24       		if (Binding.GetObjectGuid() == CameraGuid)
   25       		{
   26       			for (UMovieSceneTrack* Track : Binding.GetTracks())
   27       			{
   28       				UMovieScene3DTransformTrack* TransformTrack = Cast<UMovieScene3DTransformTrack>(Track);
   29       				if (TransformTrack)
   30       				{
   31       					// Extract the transform
   32       					FMovieSceneEvaluationTrack TransformTrackTemplate = TransformTrack->GenerateTrackTemplate();
   33       					FMovieSceneContext Context = FMovieSceneEvaluationRange(GetStartTime());
   34       
   35       					FMovieSceneInterrogationData Container;
   36       					TransformTrackTemplate.Interrogate(Context, Container);
   37       
   38       					for (auto It = Container.Iterate<FTransform>(UMovieScene3DTransformTrack::GetInterrogationKey()); It; ++It)
Steps to Reproduce
  1. Click on the camera button in sequencer
  2. Select the camera section
  3. Ctrl-c
  4. Ctrl-v
    Result: crash

repro steps currently unknown, but one user mentioned following the Recording to Sequencer tutorial

Callstack
Assertion failed: MovieScene [File:D:\Build\++UE4+Release-4.18+Compile\Sync\Engine\Source\Runtime\MovieSceneTracks\Private\Sections\MovieSceneCameraCutSection.cpp] [Line: 21]

UE4Editor_MovieSceneTracks!UMovieSceneCameraCutSection::GenerateTemplate() [moviescenecameracutsection.cpp:24]
UE4Editor_MovieScene!UMovieSceneTrack::CreateTemplateForSection() [moviescenetrack.cpp:328]
UE4Editor_MovieScene!<lambda_98ad908f38c283c2f3109a90d88c15c4>::operator() [moviescenetrack.cpp:305]
UE4Editor_MovieScene!Invoke<<lambda_98ad908f38c283c2f3109a90d88c15c4> const & __ptr64,int>() [invoke.h:45]
UE4Editor_MovieScene!UE4Function_Private::TFunctionRefCaller<<lambda_98ad908f38c283c2f3109a90d88c15c4> const ,FMovieSceneEvalTemplatePtr __cdecl() [function.h:235]
UE4Editor_MovieScene!UE4Function_Private::TFunctionRefBase<TFunctionRef<FMovieSceneEvalTemplatePtr __cdecl() [function.h:283]
UE4Editor_MovieScene!FSegmentRemapper::AddSegment() [moviescenetrack.cpp:233]
UE4Editor_MovieScene!FSegmentRemapper::ProcessSegments() [moviescenetrack.cpp:213]
UE4Editor_MovieScene!UMovieSceneTrack::Compile() [moviescenetrack.cpp:303]
UE4Editor_MovieScene!UMovieSceneTrack::GenerateTemplate() [moviescenetrack.cpp:166]
UE4Editor_MovieScene!FMovieSceneEvaluationTemplateGenerator::ProcessTrack() [moviesceneevaluationtemplategenerator.cpp:227]
UE4Editor_MovieScene!FMovieSceneEvaluationTemplateGenerator::Generate() [moviesceneevaluationtemplategenerator.cpp:153]
UE4Editor_MovieScene!UMovieSceneSequence::GenerateEvaluationTemplate() [moviescenesequence.cpp:64]
UE4Editor_MovieScene!FCachedMovieSceneEvaluationTemplate::RegenerateImpl() [moviesceneevaluationtemplate.cpp:54]
UE4Editor_MovieScene!FCachedMovieSceneEvaluationTemplate::Regenerate() [moviesceneevaluationtemplate.cpp:31]
UE4Editor_Sequencer!FSequencerTemplateStore::GetCompiledTemplate() [sequencer.cpp:140]
UE4Editor_MovieScene!FMovieSceneSequenceTemplateStore::GetCompiledTemplate() [moviescenesequencetemplatestore.cpp:10]
UE4Editor_MovieScene!FMovieSceneRootEvaluationTemplateInstance::Initialize() [moviesceneevaluationtemplateinstance.cpp:145]
UE4Editor_MovieScene!FMovieSceneRootEvaluationTemplateInstance::Evaluate() [moviesceneevaluationtemplateinstance.cpp:196]
UE4Editor_Sequencer!FSequencer::EvaluateInternal() [sequencer.cpp:1786]
UE4Editor_Sequencer!FSequencer::Tick() [sequencer.cpp:468]
UE4Editor_UnrealEd!FTickableEditorObject::TickObjects() [tickableeditorobject.h:21]
UE4Editor_UnrealEd!UEditorEngine::Tick() [editorengine.cpp:1433]
UE4Editor_UnrealEd!UUnrealEdEngine::Tick() [unrealedengine.cpp:396]
UE4Editor!FEngineLoop::Tick() [launchengineloop.cpp:3296]
UE4Editor!GuardedMain() [launch.cpp:166]
UE4Editor!GuardedMainWrapper() [launchwindows.cpp:134]
UE4Editor!WinMain() [launchwindows.cpp:210]
UE4Editor!__scrt_common_main_seh() [exe_common.inl:253]
kernel32!BaseThreadInitThunk()
ntdll!RtlUserThreadStart()

Have Comments or More Details?

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

0
Login to Vote

Fixed
ComponentUE - Anim - Sequencer
Affects Versions4.174.18
Target Fix4.18.1
Fix Commit3728523
CreatedOct 30, 2017
ResolvedOct 31, 2017
UpdatedApr 27, 2018
Pull Requests
4447 - klorberg
View Jira Issue