Developer Notes

Workaround should be to disable "Write Edit Decision List"

Description

This is a common crash affecting users in 4.16.

User Descriptions

  • render a sequence to a video file or image sequence

Source Context

 205       void FormatForEDL(FString& OutputString, const FString& SequenceName, float FrameRate, const TArray<FShotData>& InShotData)
  206       {
  207       	OutputString += TEXT("TITLE: ") + SequenceName + TEXT("\n");
  208       	OutputString += TEXT("FCM: NON-DROP FRAME\n\n");
  209       
  210       	int32 EventIndex = 0;
  211       	FString EventName, ReelName, EditName, TypeName;
  212       	FString SourceSMPTEIn, SourceSMPTEOut, EditSMPTEIn, EditSMPTEOut;
  213       
  214       	// Insert blank if doesn't start at 0.
  215 ***** 	if (InShotData[0].EditInTime != 0)
  216       	{
  217       		EventName = FString::Printf(TEXT("%03d"), ++EventIndex);
  218       		TypeName = TEXT("V");
  219       		EditName = TEXT("C");
  220       
  221       		SourceSMPTEIn = TimeToSMPTE(0.f, FrameRate);
  222       		SourceSMPTEOut = TimeToSMPTE(InShotData[0].EditInTime, FrameRate);
  223       		EditSMPTEIn = TimeToSMPTE(0.f, FrameRate);
  224       		EditSMPTEOut = TimeToSMPTE(InShotData[0].EditInTime, FrameRate);
  225       
  226       		OutputString += EventName + TEXT(" ") + TEXT("BL ") + TypeName + TEXT(" ") + EditName + TEXT(" ");
  227       		OutputString += SourceSMPTEIn + TEXT(" ") + SourceSMPTEOut + TEXT(" ") + EditSMPTEIn + TEXT(" ") + EditSMPTEOut + TEXT("\n\n");
  228       	}
Steps to Reproduce

repro steps currently unknown. Related to rendering a movie.

Callstack
Assertion failed: (Index >= 0) & (Index < ArrayNum) [File:D:\Build\++UE4+Release-4.16+Compile\Sync\Engine\Source\Runtime\Core\Public\Containers/Array.h] [Line: 633] Array index out of bounds: 0 from an array of size 0

UE4Editor_MovieSceneCapture!FormatForEDL() [moviescenecapturehelpers.cpp:216]
UE4Editor_MovieSceneCapture!MovieSceneCaptureHelpers::ExportEDL() [moviescenecapturehelpers.cpp:509]
UE4Editor_MovieSceneCapture!UAutomatedLevelSequenceCapture::ExportEDL() [automatedlevelsequencecapture.cpp:594]
UE4Editor_MovieSceneCapture!UAutomatedLevelSequenceCapture::Initialize() [automatedlevelsequencecapture.cpp:173]
UE4Editor_MovieSceneCaptureDialog!FInEditorCapture::OnStart() [moviescenecapturedialogmodule.cpp:568]
UE4Editor_MovieSceneCaptureDialog!TBaseRawMethodDelegateInstance<0,FInEditorCapture,void __cdecl() [delegateinstancesimpl.h:648]
UE4Editor_UnrealEd!TBaseMulticastDelegate<void>::Broadcast() [delegatesignatureimpl.inl:937]
UE4Editor_UnrealEd!UEditorEngine::CreatePIEGameInstance() [playlevel.cpp:3407]
UE4Editor_UnrealEd!UEditorEngine::PlayInEditor() [playlevel.cpp:2515]
UE4Editor_UnrealEd!UEditorEngine::StartQueuedPlayMapRequest() [playlevel.cpp:1217]
UE4Editor_UnrealEd!UEditorEngine::Tick() [editorengine.cpp:1525]
UE4Editor_UnrealEd!UUnrealEdEngine::Tick() [unrealedengine.cpp:386]
UE4Editor!FEngineLoop::Tick() [launchengineloop.cpp:3119]
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-46930 in the post.

2
Login to Vote

Fixed
ComponentUE - Anim - Sequencer
Affects Versions4.16
Target Fix4.16.34.17
Fix Commit3452678
Main Commit3567077
CreatedJul 6, 2017
ResolvedJul 6, 2017
UpdatedApr 27, 2018