Exporting Unity GameObjects to Alembic
Using alembic to export objects out of Unity is useful when you want to bake data that is not key-frame animated. This allows you to get deterministic data that you can re-use in other Digital Content Creation Softwares (DCCs) or in Unity itself.
For example, if you have a physics simulation that does not behave exactly the same every time you run it, baking it to alembic ensures it will always behave the same. Similarly, you might want to bake the properties/position/orientation of a Cinemachine camera if you want to re-use it in another DCC.
Export methods
There are two ways to export Unity GameObjects to Alembic:
- Via an Alembic Exporter component (available by default in the Alembic package).
- Via an Alembic Clip Recorder (available if you install the Unity Recorder package, minimum version: 2.0.0).
Export capabilities
Both methods support exporting single frame and multi-frame Alembic files, and can export GameObjects with the following components:
- Static Meshes (MeshRenderer component)
- Skinned Meshes (SkinnedMeshRenderer component)
- Particles (ParticleSystem component)
- Cameras (Camera component)
Note
The Alembic Exporter uses the Ogawa archive type to encode the exported file data.