Description

Enabling the gLTF plugin and trying to import a glTF asset results in a crash.

Steps to Reproduce
  1. Open up a project and enable the glTF plugin
  2. Restart the project and then try to import a glTF asset

 

Result: Project stalls at 100% and then crashes.

Expected: The asset to import normally.

Callstack

LoginId:2425c04a4245ea67c3691fbe9144aff0
EpicAccountId:6b50d04f360f4c7587a1171ba17d6a2a

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

UE4Editor_Core!FDebug::AssertFailed() [d:\build\++ue4\sync\engine\source\runtime\core\private\misc\assertionmacros.cpp:417]
UE4Editor_GLTFImporter!ReIndex<FVector>() [d:\build\++ue4\sync\engine\plugins\editor\gltfimporter\source\gltfimporter\private\gltfstaticmesh.cpp:23]
UE4Editor_GLTFImporter!ImportStaticMesh() [d:\build\++ue4\sync\engine\plugins\editor\gltfimporter\source\gltfimporter\private\gltfstaticmesh.cpp:250]
UE4Editor_GLTFImporter!ImportStaticMeshes() [d:\build\++ue4\sync\engine\plugins\editor\gltfimporter\source\gltfimporter\private\gltfstaticmesh.cpp:370]
UE4Editor_GLTFImporter!ImportMeshesAndMaterialsFromJSON() [d:\build\++ue4\sync\engine\plugins\editor\gltfimporter\source\gltfimporter\private\gltfimportfactory.cpp:113]
UE4Editor_GLTFImporter!UGLTFImportFactory::FactoryCreateFile() [d:\build\++ue4\sync\engine\plugins\editor\gltfimporter\source\gltfimporter\private\gltfimportfactory.cpp:187]
UE4Editor_UnrealEd!UFactory::ImportObject() [d:\build\++ue4\sync\engine\source\editor\unrealed\private\factories\factory.cpp:187]
UE4Editor_AssetTools!UAssetToolsImpl::ImportAssetsInternal() [d:\build\++ue4\sync\engine\source\developer\assettools\private\assettools.cpp:1651]
UE4Editor_AssetTools!UAssetToolsImpl::ImportAssets() [d:\build\++ue4\sync\engine\source\developer\assettools\private\assettools.cpp:878]
UE4Editor_AssetTools!UAssetToolsImpl::ImportAssetsWithDialog() [d:\build\++ue4\sync\engine\source\developer\assettools\private\assettools.cpp:712]
UE4Editor_ContentBrowser!SContentBrowser::ImportAsset() [d:\build\++ue4\sync\engine\source\editor\contentbrowser\private\scontentbrowser.cpp:951]
UE4Editor_ContentBrowser!SContentBrowser::HandleImportClicked() [d:\build\++ue4\sync\engine\source\editor\contentbrowser\private\scontentbrowser.cpp:942]
UE4Editor_ContentBrowser!TBaseSPMethodDelegateInstance<0,SContentBrowser,0,FReply __cdecl(void)>::Execute() [d:\build\++ue4\sync\engine\source\runtime\core\public\delegates\delegateinstancesimpl.h:279]
UE4Editor_Slate!SButton::OnMouseButtonUp() [d:\build\++ue4\sync\engine\source\runtime\slate\private\widgets\input\sbutton.cpp:290]
UE4Editor_Slate!FEventRouter::Route<FReply,FEventRouter::FToLeafmostPolicy,FPointerEvent,<lambda_1002768c627006711ef2f351a87ec0e7> >() [d:\build\++ue4\sync\engine\source\runtime\slate\private\framework\application\slateapplication.cpp:270]
UE4Editor_Slate!FSlateApplication::RoutePointerUpEvent() [d:\build\++ue4\sync\engine\source\runtime\slate\private\framework\application\slateapplication.cpp:5528]
UE4Editor_Slate!FSlateApplication::ProcessMouseButtonUpEvent() [d:\build\++ue4\sync\engine\source\runtime\slate\private\framework\application\slateapplication.cpp:6087]
UE4Editor_Slate!FSlateApplication::OnMouseUp() [d:\build\++ue4\sync\engine\source\runtime\slate\private\framework\application\slateapplication.cpp:6060]
UE4Editor_ApplicationCore!FWindowsApplication::ProcessDeferredMessage() [d:\build\++ue4\sync\engine\source\runtime\applicationcore\private\windows\windowsapplication.cpp:1831]
UE4Editor_ApplicationCore!FWindowsApplication::DeferMessage() [d:\build\++ue4\sync\engine\source\runtime\applicationcore\private\windows\windowsapplication.cpp:2281]
UE4Editor_ApplicationCore!FWindowsApplication::ProcessMessage() [d:\build\++ue4\sync\engine\source\runtime\applicationcore\private\windows\windowsapplication.cpp:929]
UE4Editor_ApplicationCore!FWindowsApplication::AppWndProc() [d:\build\++ue4\sync\engine\source\runtime\applicationcore\private\windows\windowsapplication.cpp:766]
user32
user32
UE4Editor_ApplicationCore!FWindowsPlatformApplicationMisc::PumpMessages() [d:\build\++ue4\sync\engine\source\runtime\applicationcore\private\windows\windowsplatformapplicationmisc.cpp:130]
UE4Editor!FEngineLoop::Tick() [d:\build\++ue4\sync\engine\source\runtime\launch\private\launchengineloop.cpp:3615]
UE4Editor!GuardedMain() [d:\build\++ue4\sync\engine\source\runtime\launch\private\launch.cpp:174]
UE4Editor!GuardedMainWrapper() [d:\build\++ue4\sync\engine\source\runtime\launch\private\windows\launchwindows.cpp:145]
UE4Editor!WinMain() [d:\build\++ue4\sync\engine\source\runtime\launch\private\windows\launchwindows.cpp:276]
UE4Editor!__scrt_common_main_seh() [f:\dd\vctools\crt\vcstartup\src\startup\exe_common.inl:283]
kernel32
ntdll

Have Comments or More Details?

There's no existing public thread on this issue, so head over toAnswerHub just mention UE-66508 in the post.

3
Login to Vote

Fixed
ComponentEnterprise
Affects Versions4.214.224.20.3
Target Fix4.22
Fix Commit4644171
CreatedNov 14, 2018
ResolvedDec 9, 2018
UpdatedJan 25, 2019