Description

This is a common and longstanding crash that has occurred since at least 4.14.

User Descriptions

  • Recording sequencer cinematic on character panw. Using Vr static meshes. A sequencer object was already playing in the scene. Crash occured on record(after countdown finished)
  • I Was About To Record A Sequence... .Then It Crashed

Source Context

 129       		if(!bIncludeNonCDO)
  130       		{
  131       			AActor* CDO = Cast<AActor>(GetActorToRecord()->GetClass()->GetDefaultObject());
  132       
  133       			auto ShouldRemovePredicate = [&](UActorComponent* PossiblyRemovedComponent)
  134       				{
  135       					// try to find a component with this name in the CDO
  136       					for (UActorComponent* SearchComponent : CDO->GetComponents())
  137       					{
  138 ***** 						if (SearchComponent->GetClass() == PossiblyRemovedComponent->GetClass() &&
  139       							SearchComponent->GetFName() == PossiblyRemovedComponent->GetFName())
  140       						{
  141       							return false;
  142       						}
  143       					}
  144       
  145       					// remove if its not found
  146       					return true;
  147       				};
  148       
  149       			OutArray.RemoveAllSwap(ShouldRemovePredicate);
  150       		}
Steps to Reproduce

repro steps currently unknown

likely related to/same as UE-51365

Callstack
Access violation - code c0000005 (first/second chance not available)

UE4Editor_SequenceRecorder!<lambda_ffd596aba4580204f4fb2f5c21d9754c>::operator() [actorrecording.cpp:139]
UE4Editor_SequenceRecorder!TArray<USceneComponent * __ptr64,FDefaultAllocator>::RemoveAllSwap<<lambda_ffd596aba4580204f4fb2f5c21d9754c> >() [array.h:1971]
UE4Editor_SequenceRecorder!UActorRecording::GetSceneComponents() [actorrecording.cpp:150]
UE4Editor_SequenceRecorder!UActorRecording::SyncTrackedComponents() [actorrecording.cpp:161]
UE4Editor_SequenceRecorder!UActorRecording::StartRecordingActorProperties() [actorrecording.cpp:317]
UE4Editor_SequenceRecorder!UActorRecording::StartRecording() [actorrecording.cpp:72]
UE4Editor_SequenceRecorder!FSequenceRecorder::StartRecordingInternal() [sequencerecorder.cpp:581]
UE4Editor_SequenceRecorder!FSequenceRecorder::Tick() [sequencerecorder.cpp:271]
UE4Editor_SequenceRecorder!FSequenceRecorderModule::TickSequenceRecorder() [sequencerecordermodule.cpp:603]
UE4Editor_SequenceRecorder!TBaseStaticDelegateInstance<void __cdecl() [delegateinstancesimpl.h:1027]
UE4Editor_Engine!TBaseMulticastDelegate<void,float>::Broadcast() [delegatesignatureimpl.inl:937]
UE4Editor_UnrealEd!UEditorEngine::Tick() [editorengine.cpp:1915]
UE4Editor_UnrealEd!UUnrealEdEngine::Tick() [unrealedengine.cpp:402]
UE4Editor!FEngineLoop::Tick() [launchengineloop.cpp:3215]
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 toAnswerHub just mention UE-51153 in the post.

1
Login to Vote

Fixed
ComponentSequencer
Affects Versions4.144.154.164.174.18
Target Fix4.18
Fix Commit3700072
Release Commit3700072
CreatedOct 12, 2017
ResolvedOct 17, 2017
UpdatedOct 18, 2017