This is a common crash callstack that has affected more than 300 unique users since at least the 4.11 release. Other Jiras in the past with similar callstacks include [Link Removed] and [Link Removed].
User Descriptions
Source Context
779 void FDistanceFieldAsyncQueue::Build(FAsyncDistanceFieldTask* Task, FQueuedThreadPool& ThreadPool) 780 { 781 #if WITH_EDITOR 782 ***** const FStaticMeshLODResources& LODModel = Task->GenerateSource->RenderData->LODResources[0]; 783 784 MeshUtilities->GenerateSignedDistanceFieldVolumeData( 785 Task->StaticMesh->GetName(), 786 LODModel, 787 ThreadPool, 788 Task->MaterialBlendModes, 789 Task->GenerateSource->RenderData->Bounds, 790 Task->DistanceFieldResolutionScale, 791 Task->bGenerateDistanceFieldAsIfTwoSided, 792 *Task->GeneratedVolumeData); 793 794 CompletedTasks.Push(Task); 795 #endif 796 }
1) Open QAGame in editor through UGS //UE4/Dev-Editor (CL 4272083)
2) In the Content Browser find the animation sequence asset rotatingaxis_anim. Drag it into the Viewport.
3) Click the Import button in the Content Browser. Navigate to \Engine\Content\NotForLicensees\QA\Import_Test_Assets\AlembicAssets and select rotating_axis_maya.abc Click Open.
4) Ensure that the Import Type is set to Static Mesh. Scroll down to the Conversion section and ensure that Preset is set to Autodesk Maya.
5) Click Import.
6) Drag rotating_axis_maya into the Viewport.
7) Click the Import button in the Content Browser. Select rotating_axis_max.ABC Click Open.
8) Scroll down to the Conversion section and change Preset to Autodesk 3ds Max.
9) Click Import.
Expected result: file imports into content browser as new item unsaved item.
Actual result: Editor crashes.
Assertion failed: (Index >= 0) & (Index < ArrayNum) [File:D:\Build\++UE4+Release-4.16+Compile\Sync\Engine\Source\Runtime\Core\Public\Containers/Array.h] [Line: 633] Array index out of bounds: 0 from an array of size 0 UE4Editor_Engine!FDistanceFieldAsyncQueue::Build() [distancefieldatlas.cpp:783] UE4Editor_Engine!FBuildDistanceFieldThreadRunnable::Run() [distancefieldatlas.cpp:661] UE4Editor_Core!FRunnableThreadWin::Run() [windowsrunnablethread.cpp:76]
LoginId:599fd7394868021e3d3cf7ac844aebf9 EpicAccountId:7834ed6233da42fe9bd95409b2d2d6b3 Access violation - code c0000005 (first/second chance not available) UE4Editor_Engine!FDistanceFieldAsyncQueue::Build() [d:\workspaces\switch2\engine\source\runtime\engine\private\distancefieldatlas.cpp:815] UE4Editor_Engine!FBuildDistanceFieldThreadRunnable::Run() [d:\workspaces\switch2\engine\source\runtime\engine\private\distancefieldatlas.cpp:684] UE4Editor_Core!FRunnableThreadWin::Run() [d:\workspaces\switch2\engine\source\runtime\core\private\windows\windowsrunnablethread.cpp:76]
There's no existing public thread on this issue, so head over to Questions & Answers just mention UE-47666 in the post.