Description

When a datatable is based off a struct with a timecode variable it will crash when opening.

Found in 4.24.3 CL#11590370
Reproduced in 4.23.1 CL#9631420, 4.25 Preview 4 CL#12366721, 4.26 CL#12123513

Steps to Reproduce

1. Create a Struct (DemoStruct) that has a TimeCode variable.
2. Create a DataTable (DemoTable) from DemoStruct.
3. Open DemoTable.

Result: The engine crashes.

Expected: DemoTable opens as expected.

Callstack

Assertion failed: (Index >= 0) & (Index < ArrayNum) [Link Removed] [Line: 614]
Array index out of bounds: 0 from an array of size 0

0x00007ffd2cdda859 KERNELBASE.dll!UnknownFunction []
0x00007ffce489a7b6 UE4Editor-Core.dll!ReportAssert() [d:\build\++ue4\sync\engine\source\runtime\core\private\windows\windowsplatformcrashcontext.cpp:1341]
0x00007ffce489dc58 UE4Editor-Core.dll!FWindowsErrorOutputDevice::Serialize() [d:\build\++ue4\sync\engine\source\runtime\core\private\windows\windowserroroutputdevice.cpp:79]
0x00007ffce4652c7d UE4Editor-Core.dll!FOutputDevice::LogfImpl() [d:\build\++ue4\sync\engine\source\runtime\core\private\misc\outputdevice.cpp:71]
0x00007ffce45dfd43 UE4Editor-Core.dll!AssertFailedImplV() [d:\build\++ue4\sync\engine\source\runtime\core\private\misc\assertionmacros.cpp:105]
0x00007ffce45e20c0 UE4Editor-Core.dll!FDebug::CheckVerifyFailedImpl() [d:\build\++ue4\sync\engine\source\runtime\core\private\misc\assertionmacros.cpp:455]
0x00007ffcc221e8b8 UE4Editor-DetailCustomizations.dll!DispatchCheckVerify<void,<lambda_3029fddaa1db26961c84c35cc9882f0e> >() [d:\build\++ue4\sync\engine\source\runtime\core\public\misc\assertionmacros.h:168]
0x00007ffcc20b9b47 UE4Editor-DetailCustomizations.dll!FTimecodeDetailsCustomization::OnGetTimecodeText() [d:\build\++ue4\sync\engine\source\editor\detailcustomizations\private\timecodedetailscustomization.cpp:42]
0x00007ffcc20635c7 UE4Editor-DetailCustomizations.dll!TBaseSPMethodDelegateInstance<1,FTimecodeDetailsCustomization,0,FText __cdecl(void)>::Execute() [d:\build\++ue4\sync\engine\source\runtime\core\public\delegates\delegateinstancesimpl.h:293]
0x00007ffced3eb144 UE4Editor-Slate.dll!TAttribute<FText>::Get() [d:\build\++ue4\sync\engine\source\runtime\core\public\misc\attribute.h:137]
0x00007ffced611b36 UE4Editor-Slate.dll!FSlateEditableTextLayout::FSlateEditableTextLayout() [d:\build\++ue4\sync\engine\source\runtime\slate\private\widgets\text\slateeditabletextlayout.cpp:105]
0x00007ffced51b52e UE4Editor-Slate.dll!SEditableText::Construct() [d:\build\++ue4\sync\engine\source\runtime\slate\private\widgets\input\seditabletext.cpp:66]
0x00007ffced506dfe UE4Editor-Slate.dll!TDecl<SEditableText,RequiredArgs::T0RequiredArgs>::operator<<=() [d:\build\++ue4\sync\engine\source\runtime\slatecore\public\widgets\declarativesyntaxsupport.h:1116]
0x00007ffced51c3c2 UE4Editor-Slate.dll!SEditableTextBox::Construct() [d:\build\++ue4\sync\engine\source\runtime\slate\private\widgets\input\seditabletextbox.cpp:36]
0x00007ffcc1c9eb45 UE4Editor-DetailCustomizations.dll!TDecl<SEditableTextBox,RequiredArgs::T0RequiredArgs>::operator<<=() [d:\build\++ue4\sync\engine\source\runtime\slatecore\public\widgets\declarativesyntaxsupport.h:1116]
0x00007ffcc2040510 UE4Editor-DetailCustomizations.dll!FTimecodeDetailsCustomization::CustomizeChildren() [d:\build\++ue4\sync\engine\source\editor\detailcustomizations\private\timecodedetailscustomization.cpp:18]
0x00007ffcd9d2cd21 UE4Editor-PropertyEditor.dll!FDetailPropertyRow::OnItemNodeInitialized() [d:\build\++ue4\sync\engine\source\editor\propertyeditor\private\detailpropertyrow.cpp:250]
0x00007ffcd9d2021b UE4Editor-PropertyEditor.dll!FDetailItemNode::InitPropertyEditor() [d:\build\++ue4\sync\engine\source\editor\propertyeditor\private\detailitemnode.cpp:142]
0x00007ffcd9d205c8 UE4Editor-PropertyEditor.dll!FDetailItemNode::Initialize() [d:\build\++ue4\sync\engine\source\editor\propertyeditor\private\detailitemnode.cpp:43]
0x00007ffcd9d01c0d UE4Editor-PropertyEditor.dll!FDetailCategoryImpl::GenerateNodesFromCustomizations() [d:\build\++ue4\sync\engine\source\editor\propertyeditor\private\detailcategorybuilderimpl.cpp:781]
0x00007ffcd9cff92f UE4Editor-PropertyEditor.dll!FDetailCategoryImpl::GenerateChildrenForSingleLayout() [d:\build\++ue4\sync\engine\source\editor\propertyeditor\private\detailcategorybuilderimpl.cpp:811]
0x00007ffcd9cfda99 UE4Editor-PropertyEditor.dll!FDetailCategoryImpl::GenerateChildrenForLayouts() [d:\build\++ue4\sync\engine\source\editor\propertyeditor\private\detailcategorybuilderimpl.cpp:849]
0x00007ffcd9d018a9 UE4Editor-PropertyEditor.dll!FDetailCategoryImpl::GenerateLayout() [d:\build\++ue4\sync\engine\source\editor\propertyeditor\private\detailcategorybuilderimpl.cpp:1009]
0x00007ffcd9cda4a5 UE4Editor-PropertyEditor.dll!FDetailLayoutBuilderImpl::BuildCategories() [d:\build\++ue4\sync\engine\source\editor\propertyeditor\private\detaillayoutbuilderimpl.cpp:243]
0x00007ffcd9d009ca UE4Editor-PropertyEditor.dll!FDetailLayoutBuilderImpl::GenerateDetailLayout() [d:\build\++ue4\sync\engine\source\editor\propertyeditor\private\detaillayoutbuilderimpl.cpp:300]
0x00007ffcd9ffdc9e UE4Editor-PropertyEditor.dll!SDetailsViewBase::UpdateSinglePropertyMap() [d:\build\++ue4\sync\engine\source\editor\propertyeditor\private\sdetailsviewbase.cpp:400]
0x00007ffcd9ffc2fa UE4Editor-PropertyEditor.dll!SDetailsViewBase::UpdatePropertyMaps() [d:\build\++ue4\sync\engine\source\editor\propertyeditor\private\sdetailsviewbase.cpp:362]
0x00007ffcd9ff4d2c UE4Editor-PropertyEditor.dll!SStructureDetailsView::SetStructureData() [d:\build\++ue4\sync\engine\source\editor\propertyeditor\private\sstructuredetailsview.cpp:254]
0x00007ffcc2532c7b UE4Editor-DataTableEditor.dll!SRowEditor::Restore() [d:\build\++ue4\sync\engine\source\editor\datatableeditor\private\sroweditor.cpp:205]
0x00007ffcc24f7ea5 UE4Editor-DataTableEditor.dll!SRowEditor::ConstructInternal() [d:\build\++ue4\sync\engine\source\editor\datatableeditor\private\sroweditor.cpp:426]
0x00007ffcc24eb54b UE4Editor-DataTableEditor.dll!TDecl<SRowEditor,RequiredArgs::T1RequiredArgs<UDataTable * &> >::operator<<=() [d:\build\++ue4\sync\engine\source\runtime\slatecore\public\widgets\declarativesyntaxsupport.h:1116]
0x00007ffcc24fdc9c UE4Editor-DataTableEditor.dll!FDataTableEditor::CreateRowEditorBox() [d:\build\++ue4\sync\engine\source\editor\datatableeditor\private\datatableeditor.cpp:1309]
0x00007ffcc24fa48a UE4Editor-DataTableEditor.dll!FDataTableEditor::CreateAndRegisterRowEditorTab() [d:\build\++ue4\sync\engine\source\editor\datatableeditor\private\datatableeditor.cpp:125]
0x00007ffce288e264 UE4Editor-UnrealEd.dll!SStandaloneAssetEditorToolkitHost::OnToolkitHostingStarted() [d:\build\++ue4\sync\engine\source\editor\unrealed\private\toolkits\sstandaloneasseteditortoolkithost.cpp:248]
0x00007ffce2898fe1 UE4Editor-UnrealEd.dll!FToolkitManager::RegisterNewToolkit() [d:\build\++ue4\sync\engine\source\editor\unrealed\private\toolkits\toolkitmanager.cpp:47]
0x00007ffce2871ba7 UE4Editor-UnrealEd.dll!FAssetEditorToolkit::InitAssetEditor() [d:\build\++ue4\sync\engine\source\editor\unrealed\private\toolkits\asseteditortoolkit.cpp:216]
0x00007ffce2872540 UE4Editor-UnrealEd.dll!FAssetEditorToolkit::InitAssetEditor() [d:\build\++ue4\sync\engine\source\editor\unrealed\private\toolkits\asseteditortoolkit.cpp:57]
0x00007ffcc2511fbe UE4Editor-DataTableEditor.dll!FDataTableEditor::InitDataTableEditor() [d:\build\++ue4\sync\engine\source\editor\datatableeditor\private\datatableeditor.cpp:259]
0x00007ffcc24fd704 UE4Editor-DataTableEditor.dll!FDataTableEditorModule::CreateDataTableEditor() [d:\build\++ue4\sync\engine\source\editor\datatableeditor\private\datatableeditormodule.cpp:36]
0x00007ffcc16e552e UE4Editor-AssetTools.dll!FAssetTypeActions_DataTable::OpenAssetEditor() [d:\build\++ue4\sync\engine\source\developer\assettools\private\assettypeactions\assettypeactions_datatable.cpp:189]
0x00007ffce27ce2df UE4Editor-UnrealEd.dll!UAssetEditorSubsystem::OpenEditorForAsset() [d:\build\++ue4\sync\engine\source\editor\unrealed\private\subsystems\asseteditorsubsystem.cpp:339]
0x00007ffccb005a67 UE4Editor-ContentBrowser.dll!SContentBrowser::OnAssetsActivated() [d:\build\++ue4\sync\engine\source\editor\contentbrowser\private\scontentbrowser.cpp:2256]
0x00007ffccafc3039 UE4Editor-ContentBrowser.dll!TBaseSPMethodDelegateInstance<0,SContentBrowser,0,void __cdecl(TArray<FAssetData,TSizedDefaultAllocator<32> > const &,enum EAssetTypeActivationMethod::Type)>::ExecuteIfSafe() [d:\build\++ue4\sync\engine\source\runtime\core\public\delegates\delegateinstancesimpl.h:369]
0x00007ffccb00e2ff UE4Editor-ContentBrowser.dll!SAssetView::OnListMouseButtonDoubleClick() [d:\build\++ue4\sync\engine\source\editor\contentbrowser\private\sassetview.cpp:4346]
0x00007ffccafc0c6a UE4Editor-ContentBrowser.dll!TBaseSPMethodDelegateInstance<0,SAssetView,0,void __cdecl(TSharedPtr<FAssetViewItem,0>)>::ExecuteIfSafe() [d:\build\++ue4\sync\engine\source\runtime\core\public\delegates\delegateinstancesimpl.h:369]
0x00007ffccafbd3b0 UE4Editor-ContentBrowser.dll!TBaseDelegate<void,TSharedPtr<FAssetViewItem,0> >::ExecuteIfBound() [d:\build\++ue4\sync\engine\source\runtime\core\public\delegates\delegatesignatureimpl.inl:673]
0x00007ffccb018f10 UE4Editor-ContentBrowser.dll!SListView<TSharedPtr<FAssetViewItem,0> >::Private_OnItemDoubleClicked() [d:\build\++ue4\sync\engine\source\runtime\slate\public\widgets\views\slistview.h:918]
0x00007ffccb00e671 UE4Editor-ContentBrowser.dll!STableRow<TSharedPtr<FAssetViewItem,0> >::OnMouseButtonDoubleClick() [d:\build\++ue4\sync\engine\source\runtime\slate\public\widgets\views\stablerow.h:334]
0x00007ffced3a2175 UE4Editor-Slate.dll!FEventRouter::Route<FReply,FEventRouter::FBubblePolicy,FPointerEvent,<lambda_cde3b80cdb8a457b0f09fee78051d179> >() [d:\build\++ue4\sync\engine\source\runtime\slate\private\framework\application\slateapplication.cpp:372]
0x00007ffced427b9e UE4Editor-Slate.dll!FSlateApplication::RoutePointerDoubleClickEvent() [d:\build\++ue4\sync\engine\source\runtime\slate\private\framework\application\slateapplication.cpp:5068]
0x00007ffced413396 UE4Editor-Slate.dll!FSlateApplication::ProcessMouseButtonDoubleClickEvent() [d:\build\++ue4\sync\engine\source\runtime\slate\private\framework\application\slateapplication.cpp:5055]
0x00007ffced408697 UE4Editor-Slate.dll!FSlateApplication::OnMouseDoubleClick() [d:\build\++ue4\sync\engine\source\runtime\slate\private\framework\application\slateapplication.cpp:5021]
0x00007ffd05fa4c4d UE4Editor-ApplicationCore.dll!FWindowsApplication::ProcessDeferredMessage() [d:\build\++ue4\sync\engine\source\runtime\applicationcore\private\windows\windowsapplication.cpp:1962]
0x00007ffd05f9242f UE4Editor-ApplicationCore.dll!FWindowsApplication::DeferMessage() [d:\build\++ue4\sync\engine\source\runtime\applicationcore\private\windows\windowsapplication.cpp:2410]
0x00007ffd05fa7195 UE4Editor-ApplicationCore.dll!FWindowsApplication::ProcessMessage() [d:\build\++ue4\sync\engine\source\runtime\applicationcore\private\windows\windowsapplication.cpp:1638]
0x00007ffd05f8ec40 UE4Editor-ApplicationCore.dll!FWindowsApplication::AppWndProc() [d:\build\++ue4\sync\engine\source\runtime\applicationcore\private\windows\windowsapplication.cpp:789]
0x00007ffd2df95c0d USER32.dll!UnknownFunction []
0x00007ffd2df95602 USER32.dll!UnknownFunction []
0x00007ffd05fa8699 UE4Editor-ApplicationCore.dll!FWindowsPlatformApplicationMisc::PumpMessages() [d:\build\++ue4\sync\engine\source\runtime\applicationcore\private\windows\windowsplatformapplicationmisc.cpp:130]
0x00007ff685606db0 UE4Editor.exe!FEngineLoop::Tick() [d:\build\++ue4\sync\engine\source\runtime\launch\private\launchengineloop.cpp:4397]
0x00007ff68561c3ec UE4Editor.exe!GuardedMain() [d:\build\++ue4\sync\engine\source\runtime\launch\private\launch.cpp:173]
0x00007ff68561c4ca UE4Editor.exe!GuardedMainWrapper() [d:\build\++ue4\sync\engine\source\runtime\launch\private\windows\launchwindows.cpp:134]
0x00007ff68562ceae UE4Editor.exe!WinMain() [d:\build\++ue4\sync\engine\source\runtime\launch\private\windows\launchwindows.cpp:263]
0x00007ff68562fcbe UE4Editor.exe!__scrt_common_main_seh() [d:\agent\_work\2\s\src\vctools\crt\vcstartup\src\startup\exe_common.inl:288]
0x00007ffd2de17bd4 KERNEL32.DLL!UnknownFunction []
0x00007ffd2f38ced1 ntdll.dll!UnknownFunction []

Have Comments or More Details?

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

1
Login to Vote

Fixed
ComponentUE - Anim - Sequencer
Affects Versions4.23.14.24.34.254.26
Target Fix4.25
Fix Commit12489270
Main Commit14151001
Release Commit12489270
CreatedMar 30, 2020
ResolvedMar 30, 2020
UpdatedAug 20, 2020
View Jira Issue