Developer Notes

See UE-38525. Occurs when there is no material assigned to the model in your DCC tools

Description

Using the test asset provide the editor will crash when changing the import to Skeletal Mesh.

This is a regression from 4.13 where this could be imported as Skeletal Mesh without issue. In 4.14 and 4.15 the Editor will cause a crash.

Working: 4.13 Binary CL-3172292
Broken: 4.14 Binary CL-3195953
Broken: 4.15 Dev-Rendering CL-3201999

Steps to Reproduce

1. Use the attached Test Asset
2. On the Import Options set it to Skeletal Mesh
3. Click Import

Regression: Yes

Results: Editor will crash on import when using Skeletal Mesh, but will work if using default Static Mesh option.

Callstack

LoginId:7d8a1a304be9658328c158a3d14cc774
EpicAccountId:fb379e8f24784ff699eadd8655f07aef

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

UE4Editor_Core!FDebug::AssertFailed() [d:\builds\ue4_main\engine\source\runtime\core\private\misc\assertionmacros.cpp:332]
UE4Editor_UnrealEd!UnFbx::FFbxImporter::CleanUpUnusedMaterials() [d:\builds\ue4_main\engine\source\editor\unrealed\private\fbx\fbxskeletalmeshimport.cpp:2191]
UE4Editor_UnrealEd!UnFbx::FFbxImporter::FillSkeletalMeshImportData() [d:\builds\ue4_main\engine\source\editor\unrealed\private\fbx\fbxskeletalmeshimport.cpp:1176]
UE4Editor_UnrealEd!UnFbx::FFbxImporter::ImportSkeletalMesh() [d:\builds\ue4_main\engine\source\editor\unrealed\private\fbx\fbxskeletalmeshimport.cpp:1316]
UE4Editor_UnrealEd!UFbxFactory::FactoryCreateBinary() [d:\builds\ue4_main\engine\source\editor\unrealed\private\fbx\fbxfactory.cpp:393]
UE4Editor_UnrealEd!UFactory::FactoryCreateFile() [d:\builds\ue4_main\engine\source\editor\unrealed\private\factories\factory.cpp:75]
UE4Editor_UnrealEd!UFactory::ImportObject() [d:\builds\ue4_main\engine\source\editor\unrealed\private\factories\factory.cpp:150]
UE4Editor_AssetTools!FAssetTools::ImportAssetsInternal() [d:\builds\ue4_main\engine\source\developer\assettools\private\assettools.cpp:1371]
UE4Editor_AssetTools!FAssetTools::ImportAssets() [d:\builds\ue4_main\engine\source\developer\assettools\private\assettools.cpp:618]
UE4Editor_AssetTools!FAssetTools::ImportAssets() [d:\builds\ue4_main\engine\source\developer\assettools\private\assettools.cpp:551]
UE4Editor_ContentBrowser!SContentBrowser::ImportAsset() [d:\builds\ue4_main\engine\source\editor\contentbrowser\private\scontentbrowser.cpp:790]
UE4Editor_ContentBrowser!SContentBrowser::HandleImportClicked() [d:\builds\ue4_main\engine\source\editor\contentbrowser\private\scontentbrowser.cpp:781]
UE4Editor_ContentBrowser!TMemberFunctionCaller<SContentBrowser,FReply (__cdecl SContentBrowser::*)(void) __ptr64>::operator()<>() [d:\builds\ue4_main\engine\source\runtime\core\public\delegates\delegateinstanceinterface.h:161]
UE4Editor_ContentBrowser!TTupleImpl<TIntegerSequence<unsigned int> >::ApplyAfter<TMemberFunctionCaller<SContentBrowser,FReply (__cdecl SContentBrowser::*)(void) __ptr64> >() [d:\builds\ue4_main\engine\source\runtime\core\public\delegates\tuple.h:116]
UE4Editor_ContentBrowser!TBaseSPMethodDelegateInstance<0,SContentBrowser,0,FReply __cdecl(void)>::Execute() [d:\builds\ue4_main\engine\source\runtime\core\public\delegates\delegateinstancesimpl.h:318]
UE4Editor_Slate!TBaseDelegate<FReply>::Execute() [d:\builds\ue4_main\engine\source\runtime\core\public\delegates\delegatesignatureimpl.inl:522]
UE4Editor_Slate!SButton::OnMouseButtonUp() [d:\builds\ue4_main\engine\source\runtime\slate\private\widgets\input\sbutton.cpp:275]
UE4Editor_Slate!<lambda_8d0e9a1da76abd0a756a3a9d775f5ed1>::operator()() [d:\builds\ue4_main\engine\source\runtime\slate\private\framework\application\slateapplication.cpp:5010]
UE4Editor_Slate!FEventRouter::Route<FReply,FEventRouter::FToLeafmostPolicy,FPointerEvent,<lambda_8d0e9a1da76abd0a756a3a9d775f5ed1> >() [d:\builds\ue4_main\engine\source\runtime\slate\private\framework\application\slateapplication.cpp:215]
UE4Editor_Slate!FSlateApplication::RoutePointerUpEvent() [d:\builds\ue4_main\engine\source\runtime\slate\private\framework\application\slateapplication.cpp:4999]
UE4Editor_Slate!FSlateApplication::ProcessMouseButtonUpEvent() [d:\builds\ue4_main\engine\source\runtime\slate\private\framework\application\slateapplication.cpp:5462]
UE4Editor_Slate!FSlateApplication::OnMouseUp() [d:\builds\ue4_main\engine\source\runtime\slate\private\framework\application\slateapplication.cpp:5439]
UE4Editor_Core!FWindowsApplication::ProcessDeferredMessage() [d:\builds\ue4_main\engine\source\runtime\core\private\windows\windowsapplication.cpp:1690]
UE4Editor_Core!FWindowsApplication::DeferMessage() [d:\builds\ue4_main\engine\source\runtime\core\private\windows\windowsapplication.cpp:2109]
UE4Editor_Core!FWindowsApplication::ProcessMessage() [d:\builds\ue4_main\engine\source\runtime\core\private\windows\windowsapplication.cpp:859]
UE4Editor_Core!FWindowsApplication::AppWndProc() [d:\builds\ue4_main\engine\source\runtime\core\private\windows\windowsapplication.cpp:706]
user32
user32
UE4Editor_Core!FWindowsPlatformMisc::PumpMessages() [d:\builds\ue4_main\engine\source\runtime\core\private\windows\windowsplatformmisc.cpp:951]
UE4Editor!FEngineLoop::Tick() [d:\builds\ue4_main\engine\source\runtime\launch\private\launchengineloop.cpp:2806]
UE4Editor!GuardedMain() [d:\builds\ue4_main\engine\source\runtime\launch\private\launch.cpp:152]
UE4Editor!GuardedMainWrapper() [d:\builds\ue4_main\engine\source\runtime\launch\private\windows\launchwindows.cpp:126]
UE4Editor!WinMain() [d:\builds\ue4_main\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 Questions & Answers thread and let us know what's up.

7
Login to Vote

Fixed
Fix Commit3210379
CreatedNov 22, 2016
ResolvedNov 25, 2016
UpdatedApr 27, 2018
View Jira Issue