Description

When importing alembic files into a project that has "Generate mesh distance fields" enabled the editor will crash.

Steps to Reproduce
  1. Import the attached alembic file in any 4.13 project with generate distance field enabled.

RESULT
Crash

EXPECTED
File imports normally

Callstack

MachineId:4875B4224DE1B4E868D5C58FBF8D3944
EpicAccountId:70471952474646d4bf405fc4c63a353e

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

UE4Editor_Core!FDebug::AssertFailed() [d:\build\++ue4+release-4.13+compile\sync\engine\source\runtime\core\private\misc\outputdevice.cpp:421]
UE4Editor_Engine!FStaticMeshRenderData::Cache() [d:\build\++ue4+release-4.13+compile\sync\engine\source\runtime\engine\private\staticmesh.cpp:1286]
UE4Editor_Engine!UStaticMesh::CacheDerivedData() [d:\build\++ue4+release-4.13+compile\sync\engine\source\runtime\engine\private\staticmesh.cpp:1997]
UE4Editor_Engine!UStaticMesh::Build() [d:\build\++ue4+release-4.13+compile\sync\engine\source\runtime\engine\private\staticmeshbuild.cpp:96]
UE4Editor_AlembicLibrary!FAbcImporter::CreateStaticMeshFromRawMesh()
UE4Editor_AlembicLibrary!FAbcImporter::ImportAsStaticMesh()
UE4Editor_AlembicImporter!UAlembicImportFactory::ImportStaticMesh()
UE4Editor_AlembicImporter!UAlembicImportFactory::FactoryCreateBinary()
UE4Editor_UnrealEd!UFactory::FactoryCreateFile() [d:\build\++ue4+release-4.13+compile\sync\engine\source\editor\unrealed\private\factories\factory.cpp:72]
UE4Editor_UnrealEd!UFactory::ImportObject() [d:\build\++ue4+release-4.13+compile\sync\engine\source\editor\unrealed\private\factories\factory.cpp:143]
UE4Editor_AssetTools!FAssetTools::ImportAssets() [d:\build\++ue4+release-4.13+compile\sync\engine\source\developer\assettools\private\assettools.cpp:971]
UE4Editor_AssetTools!FAssetTools::ImportAssets() [d:\build\++ue4+release-4.13+compile\sync\engine\source\developer\assettools\private\assettools.cpp:571]
UE4Editor_ContentBrowser!SContentBrowser::ImportAsset() [d:\build\++ue4+release-4.13+compile\sync\engine\source\editor\contentbrowser\private\scontentbrowser.cpp:781]
UE4Editor_ContentBrowser!SContentBrowser::HandleImportClicked() [d:\build\++ue4+release-4.13+compile\sync\engine\source\editor\contentbrowser\private\scontentbrowser.cpp:772]
UE4Editor_ContentBrowser!TMemberFunctionCaller<SContentBrowser,FReply (__cdecl SContentBrowser::*)(void) __ptr64>::operator()<>() [d:\build\++ue4+release-4.13+compile\sync\engine\source\runtime\core\public\delegates\delegateinstanceinterface.h:161]
UE4Editor_ContentBrowser!TTupleImpl<TIntegerSequence<unsigned int> >::ApplyAfter<TMemberFunctionCaller<SContentBrowser,FReply (__cdecl SContentBrowser::*)(void) __ptr64> >() [d:\build\++ue4+release-4.13+compile\sync\engine\source\runtime\core\public\delegates\tuple.h:115]
UE4Editor_ContentBrowser!TBaseSPMethodDelegateInstance<0,SContentBrowser,0,FReply __cdecl(void)>::Execute() [d:\build\++ue4+release-4.13+compile\sync\engine\source\runtime\core\public\delegates\delegateinstancesimpl.h:317]
UE4Editor_Slate!TBaseDelegate<FReply>::Execute() [d:\build\++ue4+release-4.13+compile\sync\engine\source\runtime\core\public\delegates\delegatesignatureimpl.inl:521]
UE4Editor_Slate!SButton::OnMouseButtonUp() [d:\build\++ue4+release-4.13+compile\sync\engine\source\runtime\slate\private\widgets\input\sbutton.cpp:278]
UE4Editor_Slate!<lambda_8d0e9a1da76abd0a756a3a9d775f5ed1>::operator()() [d:\build\++ue4+release-4.13+compile\sync\engine\source\runtime\slate\private\framework\application\slateapplication.cpp:4901]
UE4Editor_Slate!FEventRouter::Route<FReply,FEventRouter::FToLeafmostPolicy,FPointerEvent,<lambda_8d0e9a1da76abd0a756a3a9d775f5ed1> >() [d:\build\++ue4+release-4.13+compile\sync\engine\source\runtime\slate\private\framework\application\slateapplication.cpp:215]
UE4Editor_Slate!FSlateApplication::RoutePointerUpEvent() [d:\build\++ue4+release-4.13+compile\sync\engine\source\runtime\slate\private\framework\application\slateapplication.cpp:4890]
UE4Editor_Slate!FSlateApplication::ProcessMouseButtonUpEvent() [d:\build\++ue4+release-4.13+compile\sync\engine\source\runtime\slate\private\framework\application\slateapplication.cpp:5348]
UE4Editor_Slate!FSlateApplication::OnMouseUp() [d:\build\++ue4+release-4.13+compile\sync\engine\source\runtime\slate\private\framework\application\slateapplication.cpp:5328]
UE4Editor_Core!FWindowsApplication::ProcessDeferredMessage() [d:\build\++ue4+release-4.13+compile\sync\engine\source\runtime\core\private\windows\windowsapplication.cpp:1584]
UE4Editor_Core!FWindowsApplication::DeferMessage() [d:\build\++ue4+release-4.13+compile\sync\engine\source\runtime\core\private\windows\windowsapplication.cpp:1930]
UE4Editor_Core!FWindowsApplication::ProcessMessage() [d:\build\++ue4+release-4.13+compile\sync\engine\source\runtime\core\private\windows\windowsapplication.cpp:747]
UE4Editor_Core!FWindowsApplication::AppWndProc() [d:\build\++ue4+release-4.13+compile\sync\engine\source\runtime\core\private\windows\windowsapplication.cpp:669]
user32
user32
UE4Editor_Core!FWindowsPlatformMisc::PumpMessages() [d:\build\++ue4+release-4.13+compile\sync\engine\source\runtime\core\private\windows\windowsplatformmisc.cpp:905]
UE4Editor!FEngineLoop::Tick() [d:\build\++ue4+release-4.13+compile\sync\engine\source\runtime\launch\private\launchengineloop.cpp:2788]
UE4Editor!GuardedMain() [d:\build\++ue4+release-4.13+compile\sync\engine\source\runtime\launch\private\launch.cpp:156]
UE4Editor!GuardedMainWrapper() [d:\build\++ue4+release-4.13+compile\sync\engine\source\runtime\launch\private\windows\launchwindows.cpp:126]
UE4Editor!WinMain() [d:\build\++ue4+release-4.13+compile\sync\engine\source\runtime\launch\private\windows\launchwindows.cpp:202]
UE4Editor!__scrt_common_main_seh() [f:\dd\vctools\crt\vcstartup\src\startup\exe_common.inl:264]
kernel32
ntdll

Have Comments or More Details?

Head over to the existing AnswerHub thread and let us know what's up.

0
Login to Vote

Fixed
ComponentGameplay
Affects Versions4.13
Target Fix4.14
Fix Commit3137894
Main Commit3153517
CreatedSep 15, 2016
ResolvedSep 23, 2016
UpdatedApr 27, 2018