Description

Attempting to Reimport multiple Data Tables that do not have associated data source files results in the Engine crashing. When a single Data Table is selected to be reimported, the Editor asks for the data source file to be selected. This does not occur when multiple Data Tables are selected.

The same crash has been reported involving texture and animation assets, but those cases were not tested successfully.

Steps to Reproduce
  1. Create a new Blank Blueprint project.
  2. Add a new Blueprint Struct to the project.
  3. Add a new Data Table to the project that uses the new Struct from the previous step.
  4. Duplicate the new Data Table.
  5. Select both Data Table assets.
  6. Right-click on one of the Data Table assets.
  7. Select the Reimport option.

RESULT:
The Editor crashes with an Array index out of bounds error.

EXPECTED:
Reimport does nothing since there is no data source file associated with either Data Table.

Callstack
Assertion failed: (Index >= 0) & (Index < ArrayNum) [File:D:\Main-Builds\Stream\Engine\Source\Runtime\Core\Public\Containers/Array.h] [Line: 611] Array index out of bounds: 0 from an array of size 0

UE4Editor_Core!FDebug::AssertFailed() [d:\main-builds\stream\engine\source\runtime\core\private\misc\assertionmacros.cpp:422]
UE4Editor_UnrealEd!FReimportManager::ValidateAllSourceFileAndReimport() [d:\main-builds\stream\engine\source\editor\unrealed\private\editor.cpp:427]
UE4Editor_ContentBrowser!FAssetContextMenu::ExecuteReimport() [d:\main-builds\stream\engine\source\editor\contentbrowser\private\assetcontextmenu.cpp:1495]
UE4Editor_ContentBrowser!TBaseSPMethodDelegateInstance<0,FAssetContextMenu,0,void __cdecl(void)>::ExecuteIfSafe() [d:\main-builds\stream\engine\source\runtime\core\public\delegates\delegateinstancesimpl.h:355]
UE4Editor_Slate!SMenuEntryBlock::OnClicked() [d:\main-builds\stream\engine\source\runtime\slate\private\framework\multibox\smenuentryblock.cpp:1033]
UE4Editor_Slate!SMenuEntryBlock::OnMenuItemButtonClicked() [d:\main-builds\stream\engine\source\runtime\slate\private\framework\multibox\smenuentryblock.cpp:988]
UE4Editor_Slate!TBaseSPMethodDelegateInstance<0,SMenuEntryBlock,0,FReply __cdecl(void)>::Execute() [d:\main-builds\stream\engine\source\runtime\core\public\delegates\delegateinstancesimpl.h:279]
UE4Editor_Slate!SButton::OnMouseButtonUp() [d:\main-builds\stream\engine\source\runtime\slate\private\widgets\input\sbutton.cpp:290]
UE4Editor_Slate!SMenuEntryButton::OnMouseButtonUp() [d:\main-builds\stream\engine\source\runtime\slate\private\framework\multibox\smenuentryblock.cpp:385]
UE4Editor_Slate!FEventRouter::Route<FReply,FEventRouter::FToLeafmostPolicy,FPointerEvent,<lambda_1002768c627006711ef2f351a87ec0e7> >() [d:\main-builds\stream\engine\source\runtime\slate\private\framework\application\slateapplication.cpp:270]
UE4Editor_Slate!FSlateApplication::RoutePointerUpEvent() [d:\main-builds\stream\engine\source\runtime\slate\private\framework\application\slateapplication.cpp:5527]
UE4Editor_Slate!FSlateApplication::ProcessMouseButtonUpEvent() [d:\main-builds\stream\engine\source\runtime\slate\private\framework\application\slateapplication.cpp:6086]
UE4Editor_Slate!FSlateApplication::OnMouseUp() [d:\main-builds\stream\engine\source\runtime\slate\private\framework\application\slateapplication.cpp:6059]
UE4Editor_ApplicationCore!FWindowsApplication::ProcessDeferredMessage() [d:\main-builds\stream\engine\source\runtime\applicationcore\private\windows\windowsapplication.cpp:1799]
UE4Editor_ApplicationCore!FWindowsApplication::DeferMessage() [d:\main-builds\stream\engine\source\runtime\applicationcore\private\windows\windowsapplication.cpp:2249]
UE4Editor_ApplicationCore!FWindowsApplication::ProcessMessage() [d:\main-builds\stream\engine\source\runtime\applicationcore\private\windows\windowsapplication.cpp:1479]
UE4Editor_ApplicationCore!FWindowsApplication::AppWndProc() [d:\main-builds\stream\engine\source\runtime\applicationcore\private\windows\windowsapplication.cpp:734]
user32
user32
UE4Editor_ApplicationCore!FWindowsPlatformApplicationMisc::PumpMessages() [d:\main-builds\stream\engine\source\runtime\applicationcore\private\windows\windowsplatformapplicationmisc.cpp:130]
UE4Editor!FEngineLoop::Tick() [d:\main-builds\stream\engine\source\runtime\launch\private\launchengineloop.cpp:3610]
UE4Editor!GuardedMain() [d:\main-builds\stream\engine\source\runtime\launch\private\launch.cpp:174]
UE4Editor!GuardedMainWrapper() [d:\main-builds\stream\engine\source\runtime\launch\private\windows\launchwindows.cpp:145]
UE4Editor!WinMain() [d:\main-builds\stream\engine\source\runtime\launch\private\windows\launchwindows.cpp:276]
UE4Editor!__scrt_common_main_seh() [f:\dd\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 toAnswerHub just mention UE-65521 in the post.

0
Login to Vote

Fixed
ComponentTools
Affects Versions4.17.24.184.194.214.20.3
Target Fix4.21
Fix Commit4492108
Main Commit4551290
Release Commit4492108
CreatedOct 19, 2018
ResolvedOct 19, 2018
UpdatedFeb 6, 2019