# Re-importing datasmith geometry loses applied materials

**URL:** <https://forums.unrealengine.com/t/re-importing-datasmith-geometry-loses-applied-materials/1139213>\
**Category:** Architectural and Design Visualization\
**Tags:** unreal-engine, editor, question\
**Created:** [April 24, 2023, 11:50am UTC](https://forums.unrealengine.com/t/re-importing-datasmith-geometry-loses-applied-materials/1139213 "2023-04-24T11:50:44Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![cra\_gna](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@cra\_gna](https://forums.unrealengine.com/u/cra_gna)\
**Post date:** [April 24, 2023, 11:50am UTC](https://forums.unrealengine.com/t/re-importing-datasmith-geometry-loses-applied-materials/1139213/1 "2023-04-24T11:50:44Z")

</div>

Hi.

Whenever I re-import revised geometry into the project, all the applied materials in Ue5 are lost. I’ve lost hours of work on material pplication. How do i fix this quicky please?

---

<div class="post-metadata">

**Author:** ![Arii](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/arii/32/898284_2.png) [@Arii](https://forums.unrealengine.com/u/Arii)\
**Post date:** [April 26, 2023, 7:16am UTC](https://forums.unrealengine.com/t/re-importing-datasmith-geometry-loses-applied-materials/1139213/2 "2023-04-26T07:16:55Z")

</div>

this is the way datasmith is programmed to work and there is no option for now at least to override this behavior.  
what you can do however is create a blueprint utility widget that substitutes imported raw material from your modeling program to material of your choice in unreal. for this to work you need to apply named materials in in your dcc for your meshes. and in unreal create a substitute data table.  
look at the post below

> [@Datasmith-imported materials - Most efficient way to replace with UE5 ones?](https://forums.unrealengine.com/t/datasmith-imported-materials-most-efficient-way-to-replace-with-ue5-ones/597917):
>
> I am using the Direct Link plugin from Sketchup 2021 to the latest version of Unreal Engine 5. It works well, but the best way that I’ve found to replace Sketchup’s materials with UE5 ones is to select a mesh, “Select All with Same Material”, then click in the Details pane to replace one material at a time. Is there a better way in UE5 please? A Python script? A plugin (paid is fine with me)? There used to be an (expensive) plugin called Optim; what else is similar in UE5 that works well? …

---

<div class="post-metadata">

**Author:** ![cra\_gna](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@cra\_gna](https://forums.unrealengine.com/u/cra_gna)\
**Post date:** [April 26, 2023, 9:23am UTC](https://forums.unrealengine.com/t/re-importing-datasmith-geometry-loses-applied-materials/1139213/3 "2023-04-26T09:23:06Z")

</div>

Thank you for your help. I will check this source. I figured a way to do something similar though visual dataprep tool.
