UE4 Crash on EXTREMELY SIMPLE skeletal mesh import

Hello! I am in the process of creating a Battlefield-like game, and I have just gotten to the stage of importing characters. However, evrytime I import, I get the following error:

Assertion failed: (Index >= 0) & (Index < ArrayNum) [File:d:\build++ue4+release-4.14+compile\sync\engine\source\runtime\core\public\Containers/Array.h] [Line: 634]
Array index out of bounds: 0 from an array of size 0

I’m not sure how to access this drive, as I have a burning desire to investigate the code myself (bugfixing ii strangely pleasing).

Anyways, I hope someone can help me. I am importing from blender, it’s literally a 14 bone, no-more-than-100-polygon roblox-like character model, and I believe I’m exporting with proper settings. No animations have been made for the model yet, it is however skinned. I tried exporting and importing armature and mesh seperately as well and this had no effect.

Any and ALL help is appreciated!!! Thank you!

The full log is as follows:

MachineId:47DBEA184AE067B65FEF1DB56172DEC0
EpicAccountId:(hidden, just thought maybe usable for bad reasons, IDK)

Assertion failed: (Index >= 0) & (Index < ArrayNum) [File:d:\build++ue4+release-4.14+compile\sync\engine\source\runtime\core\public\Containers/Array.h] [Line: 634]
Array index out of bounds: 0 from an array of size 0

UE4Editor_Core!FDebug::AssertFailed() [d:\build++ue4+release-4.14+compile\sync\engine\source\runtime\core\private\misc\assertionmacros.cpp:332]
UE4Editor_UnrealEd!UnFbx::FFbxImporter::CleanUpUnusedMaterials() [d:\build++ue4+release-4.14+compile\sync\engine\source\editor\unrealed\private\fbx\fbxskeletalmeshimport.cpp:2189]
UE4Editor_UnrealEd!UnFbx::FFbxImporter::FillSkeletalMeshImportData() [d:\build++ue4+release-4.14+compile\sync\engine\source\editor\unrealed\private\fbx\fbxskeletalmeshimport.cpp:1174]
UE4Editor_UnrealEd!UnFbx::FFbxImporter::ImportSkeletalMesh() [d:\build++ue4+release-4.14+compile\sync\engine\source\editor\unrealed\private\fbx\fbxskeletalmeshimport.cpp:1314]
UE4Editor_UnrealEd!UFbxFactory::FactoryCreateBinary() [d:\build++ue4+release-4.14+compile\sync\engine\source\editor\unrealed\private\fbx\fbxfactory.cpp:392]
UE4Editor_UnrealEd!UFactory::FactoryCreateFile() [d:\build++ue4+release-4.14+compile\sync\engine\source\editor\unrealed\private\factories\factory.cpp:75]
UE4Editor_UnrealEd!UFactory::ImportObject() [d:\build++ue4+release-4.14+compile\sync\engine\source\editor\unrealed\private\factories\factory.cpp:150]
UE4Editor_AssetTools!FAssetTools::ImportAssetsInternal() [d:\build++ue4+release-4.14+compile\sync\engine\source\developer\assettools\private\assettools.cpp:1375]
UE4Editor_AssetTools!FAssetTools::ImportAssets() [d:\build++ue4+release-4.14+compile\sync\engine\source\developer\assettools\private\assettools.cpp:628]
UE4Editor_AssetTools!FAssetTools::ImportAssets() [d:\build++ue4+release-4.14+compile\sync\engine\source\developer\assettools\private\assettools.cpp:561]
UE4Editor_ContentBrowser!SContentBrowser::ImportAsset() [d:\build++ue4+release-4.14+compile\sync\engine\source\editor\contentbrowser\private\scontentbrowser.cpp:790]
UE4Editor_ContentBrowser!SContentBrowser::HandleImportClicked() [d:\build++ue4+release-4.14+compile\sync\engine\source\editor\contentbrowser\private\scontentbrowser.cpp:781]
UE4Editor_ContentBrowser!TMemberFunctionCaller::operator()<>() [d:\build++ue4+release-4.14+compile\sync\engine\source\runtime\core\public\delegates\delegateinstanceinterface.h:161]
UE4Editor_ContentBrowser!TTupleImpl >::ApplyAfter >() [d:\build++ue4+release-4.14+compile\sync\engine\source\runtime\core\public\delegates\tuple.h:116]
UE4Editor_ContentBrowser!TBaseSPMethodDelegateInstance<0,SContentBrowser,0,FReply __cdecl(void)>::Execute() [d:\build++ue4+release-4.14+compile\sync\engine\source\runtime\core\public\delegates\delegateinstancesimpl.h:318]
UE4Editor_Slate!TBaseDelegate::Execute() [d:\build++ue4+release-4.14+compile\sync\engine\source\runtime\core\public\delegates\delegatesignatureimpl.inl:522]
UE4Editor_Slate!SButton::OnMouseButtonUp() [d:\build++ue4+release-4.14+compile\sync\engine\source\runtime\slate\private\widgets\input\sbutton.cpp:275]
UE4Editor_Slate!::operator()() [d:\build++ue4+release-4.14+compile\sync\engine\source\runtime\slate\private\framework\application\slateapplication.cpp:5010]
UE4Editor_Slate!FEventRouter::Route >() [d:\build++ue4+release-4.14+compile\sync\engine\source\runtime\slate\private\framework\application\slateapplication.cpp:215]
UE4Editor_Slate!FSlateApplication::RoutePointerUpEvent() [d:\build++ue4+release-4.14+compile\sync\engine\source\runtime\slate\private\framework\application\slateapplication.cpp:4999]
UE4Editor_Slate!FSlateApplication::ProcessMouseButtonUpEvent() [d:\build++ue4+release-4.14+compile\sync\engine\source\runtime\slate\private\framework\application\slateapplication.cpp:5462]
UE4Editor_Slate!FSlateApplication::OnMouseUp() [d:\build++ue4+release-4.14+compile\sync\engine\source\runtime\slate\private\framework\application\slateapplication.cpp:5439]
UE4Editor_Core!FWindowsApplication::ProcessDeferredMessage() [d:\build++ue4+release-4.14+compile\sync\engine\source\runtime\core\private\windows\windowsapplication.cpp:1652]
UE4Editor_Core!FWindowsApplication::DeferMessage() [d:\build++ue4+release-4.14+compile\sync\engine\source\runtime\core\private\windows\windowsapplication.cpp:2071]
UE4Editor_Core!FWindowsApplication::ProcessMessage() [d:\build++ue4+release-4.14+compile\sync\engine\source\runtime\core\private\windows\windowsapplication.cpp:814]
UE4Editor_Core!FWindowsApplication::AppWndProc() [d:\build++ue4+release-4.14+compile\sync\engine\source\runtime\core\private\windows\windowsapplication.cpp:678]
user32
user32
UE4Editor_Core!FWindowsPlatformMisc::PumpMessages() [d:\build++ue4+release-4.14+compile\sync\engine\source\runtime\core\private\windows\windowsplatformmisc.cpp:951]
UE4Editor!FEngineLoop::Tick() [d:\build++ue4+release-4.14+compile\sync\engine\source\runtime\launch\private\launchengineloop.cpp:2811]
UE4Editor!GuardedMain() [d:\build++ue4+release-4.14+compile\sync\engine\source\runtime\launch\private\launch.cpp:152]
UE4Editor!GuardedMainWrapper() [d:\build++ue4+release-4.14+compile\sync\engine\source\runtime\launch\private\windows\launchwindows.cpp:126]
UE4Editor!WinMain() [d:\build++ue4+release-4.14+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

Oh, I should add, it is easily reproducible. On an also related note, there was an instance or two where it simply “failed to import see output log for details” rather than crash, though I’m not sure I can reproduce that…

Same thing happening to me.
Trying to import a very simple skeletal mesh with 10 standard bones from 3ds max with a skin modifier…
I’ve tried max 2017 and 2016, rearranging and animating bones, different FBX export parameters and different import parameters inside Unreal.
Same outcome: Crash

Log:

MachineId:FA95A5414ECF3300490A29BFC6958A62
EpicAccountId:a57513bde6934c09a8ccdaa20f8ab0b9

Assertion failed: (Index >= 0) & (Index < ArrayNum) [File:d:\build++ue4+release-4.14+compile\sync\engine\source\runtime\core\public\Containers/Array.h] [Line: 634]
Array index out of bounds: 0 from an array of size 0

UE4Editor_Core!FDebug::AssertFailed() [d:\build++ue4+release-4.14+compile\sync\engine\source\runtime\core\private\misc\assertionmacros.cpp:332]
UE4Editor_UnrealEd!UnFbx::FFbxImporter::CleanUpUnusedMaterials() [d:\build++ue4+release-4.14+compile\sync\engine\source\editor\unrealed\private\fbx\fbxskeletalmeshimport.cpp:2189]
UE4Editor_UnrealEd!UnFbx::FFbxImporter::FillSkeletalMeshImportData() [d:\build++ue4+release-4.14+compile\sync\engine\source\editor\unrealed\private\fbx\fbxskeletalmeshimport.cpp:1174]
UE4Editor_UnrealEd!UnFbx::FFbxImporter::ImportSkeletalMesh() [d:\build++ue4+release-4.14+compile\sync\engine\source\editor\unrealed\private\fbx\fbxskeletalmeshimport.cpp:1314]
UE4Editor_UnrealEd!UFbxFactory::FactoryCreateBinary() [d:\build++ue4+release-4.14+compile\sync\engine\source\editor\unrealed\private\fbx\fbxfactory.cpp:392]
UE4Editor_UnrealEd!UFactory::FactoryCreateFile() [d:\build++ue4+release-4.14+compile\sync\engine\source\editor\unrealed\private\factories\factory.cpp:75]
UE4Editor_UnrealEd!UFactory::ImportObject() [d:\build++ue4+release-4.14+compile\sync\engine\source\editor\unrealed\private\factories\factory.cpp:150]
UE4Editor_AssetTools!FAssetTools::ImportAssetsInternal() [d:\build++ue4+release-4.14+compile\sync\engine\source\developer\assettools\private\assettools.cpp:1375]
UE4Editor_AssetTools!FAssetTools::ImportAssets() [d:\build++ue4+release-4.14+compile\sync\engine\source\developer\assettools\private\assettools.cpp:628]
UE4Editor_AssetTools!FAssetTools::ImportAssets() [d:\build++ue4+release-4.14+compile\sync\engine\source\developer\assettools\private\assettools.cpp:561]
UE4Editor_ContentBrowser!SContentBrowser::ImportAsset() [d:\build++ue4+release-4.14+compile\sync\engine\source\editor\contentbrowser\private\scontentbrowser.cpp:790]
UE4Editor_ContentBrowser!SContentBrowser::HandleImportClicked() [d:\build++ue4+release-4.14+compile\sync\engine\source\editor\contentbrowser\private\scontentbrowser.cpp:781]
UE4Editor_ContentBrowser!TMemberFunctionCaller::operator()<>() [d:\build++ue4+release-4.14+compile\sync\engine\source\runtime\core\public\delegates\delegateinstanceinterface.h:161]
UE4Editor_ContentBrowser!TTupleImpl >::ApplyAfter >() [d:\build++ue4+release-4.14+compile\sync\engine\source\runtime\core\public\delegates\tuple.h:116]
UE4Editor_ContentBrowser!TBaseSPMethodDelegateInstance<0,SContentBrowser,0,FReply __cdecl(void)>::Execute() [d:\build++ue4+release-4.14+compile\sync\engine\source\runtime\core\public\delegates\delegateinstancesimpl.h:318]
UE4Editor_Slate!TBaseDelegate::Execute() [d:\build++ue4+release-4.14+compile\sync\engine\source\runtime\core\public\delegates\delegatesignatureimpl.inl:522]
UE4Editor_Slate!SButton::OnMouseButtonUp() [d:\build++ue4+release-4.14+compile\sync\engine\source\runtime\slate\private\widgets\input\sbutton.cpp:275]
UE4Editor_Slate!::operator()() [d:\build++ue4+release-4.14+compile\sync\engine\source\runtime\slate\private\framework\application\slateapplication.cpp:5010]
UE4Editor_Slate!FEventRouter::Route >() [d:\build++ue4+release-4.14+compile\sync\engine\source\runtime\slate\private\framework\application\slateapplication.cpp:215]
UE4Editor_Slate!FSlateApplication::RoutePointerUpEvent() [d:\build++ue4+release-4.14+compile\sync\engine\source\runtime\slate\private\framework\application\slateapplication.cpp:4999]
UE4Editor_Slate!FSlateApplication::ProcessMouseButtonUpEvent() [d:\build++ue4+release-4.14+compile\sync\engine\source\runtime\slate\private\framework\application\slateapplication.cpp:5462]
UE4Editor_Slate!FSlateApplication::OnMouseUp() [d:\build++ue4+release-4.14+compile\sync\engine\source\runtime\slate\private\framework\application\slateapplication.cpp:5439]
UE4Editor_Core!FWindowsApplication::ProcessDeferredMessage() [d:\build++ue4+release-4.14+compile\sync\engine\source\runtime\core\private\windows\windowsapplication.cpp:1652]
UE4Editor_Core!FWindowsApplication::DeferMessage() [d:\build++ue4+release-4.14+compile\sync\engine\source\runtime\core\private\windows\windowsapplication.cpp:2071]
UE4Editor_Core!FWindowsApplication::ProcessMessage() [d:\build++ue4+release-4.14+compile\sync\engine\source\runtime\core\private\windows\windowsapplication.cpp:814]
UE4Editor_Core!FWindowsApplication::AppWndProc() [d:\build++ue4+release-4.14+compile\sync\engine\source\runtime\core\private\windows\windowsapplication.cpp:678]
user32
user32
UE4Editor_Core!FWindowsPlatformMisc::PumpMessages() [d:\build++ue4+release-4.14+compile\sync\engine\source\runtime\core\private\windows\windowsplatformmisc.cpp:951]
UE4Editor!FEngineLoop::Tick() [d:\build++ue4+release-4.14+compile\sync\engine\source\runtime\launch\private\launchengineloop.cpp:2811]
UE4Editor!GuardedMain() [d:\build++ue4+release-4.14+compile\sync\engine\source\runtime\launch\private\launch.cpp:152]
UE4Editor!GuardedMainWrapper() [d:\build++ue4+release-4.14+compile\sync\engine\source\runtime\launch\private\windows\launchwindows.cpp:126]
UE4Editor!WinMain() [d:\build++ue4+release-4.14+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

Thanks man good to see others have it too :P.

I’d like to confirm that 1 armature/bone skinned to a cube (no more, no less), instigates he exact same crash.

This is probably UE-38935 Crash with FBX Import as Skeletal Mesh. Crash happens when you import a skeletal mesh with no material.

This issue is fixed and I think the fix will be in 4.14.1.

Thank you so much! I’ll try out a material and see what happens… thanks!

Same PROBLEM in 4.14.3.

AND IT HAVE MATERIALS.

KuroSekaie, have a look at this thread:

The bug report is about source control but the first comment talks about the AllowCommandletRendering flag which might help.

The materials fixed it for me btw! Thank you! (I know its been a while)