Description

The editor will crash when importing an Alembic file with an empty first frame.

Steps to Reproduce

1. Import Attached test file
2. Click Import

Results: Editor will crash

Expected: Editor will not crash

Workaround: In the import window set the animation to the first frame with geometry. In this attached files case you 0 is empty. Set it to 1 for the first frame and it will import.

Callstack

MachineId:C6108E33411029AE261D0287D9BE352E
EpicAccountId:7c6293d6bf1940c0bc89e1494c5ba9d7

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:\builds\ue4_main\engine\source\runtime\core\private\misc\outputdevice.cpp:421]
UE4Editor_AlembicLibrary!AbcImporterUtilities::RetrieveTypedAbcData<std::shared_ptr<Alembic::Abc::v6::TypedArraySample<Alembic::Abc::v6::P3fTPTraits> >,FVector>() [d:\builds\ue4_main\engine\plugins\experimental\alembicimporter\source\alembiclibrary\private\abcimportutilities.h:108]
UE4Editor_AlembicLibrary!AbcImporterUtilities::GenerateAbcMeshSampleForFrame() [d:\builds\ue4_main\engine\plugins\experimental\alembicimporter\source\alembiclibrary\private\abcimportutilities.h:253]
UE4Editor_AlembicLibrary!FAbcMeshDataImportRunnable::Run() [d:\builds\ue4_main\engine\plugins\experimental\alembicimporter\source\alembiclibrary\private\runnables\abcmeshdataimportrunnable.cpp:82]
UE4Editor_Core!FRunnableThreadWin::Run() [d:\builds\ue4_main\engine\source\runtime\core\private\windows\windowsrunnablethread.cpp:74]

Have Comments or More Details?

Head over to the existing Questions & Answers thread and let us know what's up.

1
Login to Vote

Fixed
ComponentUE - Gameplay
Affects Versions4.134.14
Target Fix4.13
Fix Commit3087107
Main Commit3092051
Release Commit3087107
CreatedAug 10, 2016
ResolvedAug 12, 2016
UpdatedApr 27, 2018
View Jira Issue