# Alembic and Materials Elements

**URL:** <https://forums.unrealengine.com/t/alembic-and-materials-elements/124728>\
**Category:** Rendering\
**Tags:** unreal-engine\
**Created:** [April 9, 2019, 2:42pm UTC](https://forums.unrealengine.com/t/alembic-and-materials-elements/124728 "2019-04-09T14:42:53Z")\
**Posts on this page:** 10\
**Page:** 1

<div class="post-metadata">

**Author:** ![multiply\_studio\_1](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@multiply\_studio\_1](https://forums.unrealengine.com/u/multiply_studio_1)\
**Post date:** [April 9, 2019, 2:42pm UTC](https://forums.unrealengine.com/t/alembic-and-materials-elements/124728/1 "2019-04-09T14:42:53Z")

</div>

Hi,

I have some issues with my alembic import in unreal.  
When i import the element as a static mesh, every material elements are presents but when i use the geometry cache… Can’t find only 4 elements and one overrides them all x).  
Anyone have an idea about it?

Thanks

---

<div class="post-metadata">

**Author:** ![Full\_Rotation](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/full_rotation/32/975561_2.png) [@Full\_Rotation](https://forums.unrealengine.com/u/Full_Rotation)\
**Post date:** [September 24, 2019, 9:56am UTC](https://forums.unrealengine.com/t/alembic-and-materials-elements/124728/2 "2019-09-24T09:56:58Z")

</div>

I battled with this for weeks as there is so little information on it.

here is what works  
Make sure you have applied materials to each piece of your geometry  
Export your alembic cache from Maya (or whatever you use) Make sure you have UV write, Face sets, Write colour sets and Write UV sets checked

In Unreal: import as geometry cache, check - find and create materials  
… but here is the one thing that took me ages to work out TURN OFF “FLATTEN TRACKS” … I don’t know why this is on by default, but once off, you will see all your materials in the slots, and you just reapply materials to each element

Hope it helps

---

<div class="post-metadata">

**Author:** ![A.Borzykh](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@A.Borzykh](https://forums.unrealengine.com/u/A.Borzykh)\
**Post date:** [March 16, 2020, 2:13pm UTC](https://forums.unrealengine.com/t/alembic-and-materials-elements/124728/3 "2020-03-16T14:13:38Z")

</div>

[USER=“3405991”]Full Rotation[/USER] Thanks for the Flatten Tracks option!  
Now, as we get our material slots in place, how we can tell the UE to automatically _apply thouse materials_ during the import process?

Let’s say, we have a complex asset with number of sub-meshes and ID materials applyed for each mesh (in maya).  
We import that asset as a Static Mesh and pass it to lookdev department for the final surfacing (ending up with all asset materials ready to use).  
Now, as we import ABC animated cache for each individual animation for that asset it would be nice to have all the materials fill in their slots according to each material ID. Owervise, we have to manually re-apply each material to each slot for each new animated cashe asset.

Does any one knows how to actually handle this case?

---

<div class="post-metadata">

**Author:** ![multiply\_studio\_1](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@multiply\_studio\_1](https://forums.unrealengine.com/u/multiply_studio_1)\
**Post date:** [August 26, 2020, 3:25pm UTC](https://forums.unrealengine.com/t/alembic-and-materials-elements/124728/4 "2020-08-26T15:25:41Z")

</div>

Thanks mate for the trick [USER=“3405991”]Full Rotation[/USER] .  
Sorry @A.Borzykh , i don’t have the solution to automate this. But perhaps you can to it with a python pipeline?

---

<div class="post-metadata">

**Author:** ![A.Borzykh](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@A.Borzykh](https://forums.unrealengine.com/u/A.Borzykh)\
**Post date:** [November 3, 2020, 9:30pm UTC](https://forums.unrealengine.com/t/alembic-and-materials-elements/124728/5 "2020-11-03T21:30:45Z")

</div>

[USER=“724850”]Multiply Studio[/USER] Hey, I actually gathered all the tech requirements to deal with the materials on animated cache. It just requires a few vital steps to follow:

- apply all your materials on a **Face level** rather than shape level

- check **Face Sets** option box during the ABC export

- make sure that all of the previously imported materials re-named to their **Shading Groups** - just add **SG** at the end of a material’s name.

- uncheck **Flatten Tracks**

- check **Apply Materials**

---

<div class="post-metadata">

**Author:** ![Synnnaa3](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Synnnaa3](https://forums.unrealengine.com/u/Synnnaa3)\
**Post date:** [December 10, 2020, 11:10am UTC](https://forums.unrealengine.com/t/alembic-and-materials-elements/124728/6 "2020-12-10T11:10:39Z")

</div>

For anyone still looking for this, since this is the top result I will post some more research:  
Flatten Tracks has nothing to do with the ability of the engine to recognize materials. The crucial part is to export Face Sets from you software of choice.  
Then, you can either tell Unreal to look for materials (nomenclature will be important, otherwise it won’t find them), or to create new materials for each Face Set.

Flatten Track will simply determine whether you want to keep submeshes or let unreal bake all the vertex information into a single mesh. It worked for you because, if you do not export Face Sets, then Unreal does not have any information of what to do and where, and letting it keep submeshes includes information on those specific submeshes materials. Still no information on materials applied on specific faces.  
When the “remeshing” is done (Flatten Tracks), having Face Sets lets Unreal know what material goes to which face, and thus keeps it consistent.

Hope it helps.

---

<div class="post-metadata">

**Author:** ![Rourker](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Rourker](https://forums.unrealengine.com/u/Rourker)\
**Post date:** [May 19, 2021, 11:48pm UTC](https://forums.unrealengine.com/t/alembic-and-materials-elements/124728/7 "2021-05-19T23:48:07Z")

</div>

Hey, just for an even more explicit explanation, I made a video showing how to set up materials and export from Maya and import into Unreal while have your materials be applied automatically as well.

and flatten tracks should remain on in most cases, which is why it is on by default.

[![](https://d3kjluh73b9h9o.cloudfront.net/original/4X/7/3/9/73942cf5cfe575d91177f7c959a43b67c6d5e730.jpeg "Maya to Unreal Alembic Workflow (The Correct Way)") ](https://www.youtube.com/watch?v=2hxsW8h7gfY)

---

<div class="post-metadata">

**Author:** ![mistercardenas](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/mistercardenas/32/1008660_2.png) [@mistercardenas](https://forums.unrealengine.com/u/mistercardenas)\
**Post date:** [November 22, 2022, 10:14pm UTC](https://forums.unrealengine.com/t/alembic-and-materials-elements/124728/8 "2022-11-22T22:14:30Z")

</div>

thank you!!

---

<div class="post-metadata">

**Author:** ![Mitzhawk](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Mitzhawk](https://forums.unrealengine.com/u/Mitzhawk)\
**Post date:** [March 18, 2023, 2:56pm UTC](https://forums.unrealengine.com/t/alembic-and-materials-elements/124728/9 "2023-03-18T14:56:43Z")

</div>

I love you!  
Exactly what i was looking for 🙂

---

<div class="post-metadata">

**Author:** ![TimotheeMaron](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@TimotheeMaron](https://forums.unrealengine.com/u/TimotheeMaron)\
**Post date:** [November 19, 2023, 10:11pm UTC](https://forums.unrealengine.com/t/alembic-and-materials-elements/124728/10 "2023-11-19T22:11:13Z")

</div>

Thank you so much for sharing this. Exactly what I was looking for and managed to get it to work from Houdini (without Houdini Engine, just simple alembic export)

Anyone wondering and reading this :

- convert your material assignment into prim group. The group name need to match your Unreal material name
- ROP alembic export
- In unreal, enable “Find material”. It can be imported both as Statich Mesh or Geom Cash

(using UE 4.3 and Houdini 19.5)
