Alembic Import Crash

Hello,

I managed to resolve the issue on my end, but you might want to read my writeup:

Update: I also managed to make it run in your experimental geometry cache mode. So it animates just fine!

With more debugging and looking at your UE4 Alembic loader code:
https://github.com/EpicGames/UnrealTournament/blob/89cfe56b19e0030d30cf202fd28f12cb86cc772d/Engine/Plugins/Experimental/AlembicImporter/Source/AlembicLibrary/Private/AbcImporter.cpp

I think the issue is the FAbcImporter class expects transforms to be present for any imported piece of data. This is probably the result of the assertion crash.

My exported polymesh samples did not contain xform matrix values. So I modified it to do this instead:

Per sample:

  1. Create an identity OXform as root

  2. Create the OPolyMesh parented under the OXform

Once I did that it ran and loaded in static mesh mode correctly. You might want to modify the FAbcImported code to deal with alembic files that do not contain a root transform ( if they are pure point caches a root transform probably isn’t required data). Or at least complain and return it as an invalid file with the proper warnings.

Cheers