# Datasmith and cleaning the project from unnecessary Mesh 

**URL:** <https://forums.unrealengine.com/t/datasmith-and-cleaning-the-project-from-unnecessary-mesh/2421624>\
**Category:** Architectural and Design Visualization\
**Tags:** unreal-engine, question\
**Created:** [March 27, 2025, 2:38pm UTC](https://forums.unrealengine.com/t/datasmith-and-cleaning-the-project-from-unnecessary-mesh/2421624 "2025-03-27T14:38:09Z")\
**Posts on this page:** 11\
**Page:** 1

<div class="post-metadata">

**Author:** ![Swolf74](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Swolf74](https://forums.unrealengine.com/u/Swolf74)\
**Post date:** [March 27, 2025, 2:38pm UTC](https://forums.unrealengine.com/t/datasmith-and-cleaning-the-project-from-unnecessary-mesh/2421624/1 "2025-03-27T14:38:09Z")

</div>

I am currently working with a large complex and have encountered this problem.  
I have imported Revit-\>3dsMax(datasmith)-\>UE5. A lot of unique meshes have been loaded. For example, StaticMesh1, StaticMesh2 and StaticMesh3 are identical models and StaticMeshActor1, StaticMeshActor2 and StaticMeshActor3 have been created respectively. I have replaced the Static Mesh with a new one, but when I try to delete StaticMesh1 from the project, I am warned that this Mesh is used in the project. I really want to clean the project. Project Cleaner and Migrate do not help. The number of Meshes to delete from the project is more than 10,000. This cannot be done manually  
Have you encountered this problem? How can this be solved?

---

<div class="post-metadata">

**Author:** ![BRGEzeHulton](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@BRGEzeHulton](https://forums.unrealengine.com/u/BRGEzeHulton)\
**Post date:** [April 1, 2025, 7:53pm UTC](https://forums.unrealengine.com/t/datasmith-and-cleaning-the-project-from-unnecessary-mesh/2421624/2 "2025-04-01T19:53:19Z")

</div>

Hello Swolf74. Yeah, this is a really common (and frustrating) issue when importing large scenes via Revit → 3ds Max → Datasmith. It creates tons of unique static meshes even if they’re visually identical.

Unfortunately, Unreal sees them as completely separate assets, so deleting or replacing them globally becomes tricky.

Here are some things that might help — though I admit, it’s still a lot of work:

**Try to identify duplicated geometry** and replace them in the level manually or via **Blueprint tools** (like using `Get All Actors of Class` to swap them with a single master mesh).  
You can mark identical meshes and try using **“Replace References”** in the Content Browser — but with 10k+ meshes, this won’t scale easily.  
Some users export a **cleaned-up version** from 3ds Max (merging identical meshes beforehand), then reimport over the same Datasmith file — but I know that’s a big step if your level is already populated.

Even tools like Project Cleaner won’t help until all references are removed manually or with scripts.

So yeah… it’s not a one-click fix (yet), but small automation steps + good asset naming/tagging can go a long way.

I found something in the forum that can help you.

> [@Removing unnecessary geometry items from the Libray after updating Datasmith file](https://forums.unrealengine.com/t/removing-unnecessary-geometry-items-from-the-libray-after-updating-datasmith-file/129307):
>
> Is there any way to find assets not linked to a scene actor, in order to delete them from the library? After updating a source file, and re-importing through Datasmith, assets with updated meshes — possibly split into parts, or re-created, still retain the original mesh item in the library. On large imports this leads to large amounts of duplicate and unnecessary geometry residing in the library folder.

> [@Removing a Datasmith file from UE4 - Deleting 5,000 to 10,000 scene actors takes a long.... time](https://forums.unrealengine.com/t/removing-a-datasmith-file-from-ue4-deleting-5-000-to-10-000-scene-actors-takes-a-long-time/117772):
>
> I have a datasmith file in my project that I need removed. My process has been to select the actors in the scene and delete them, then delete the folder in the Content Browser. This is currently taking over an hour during which UE4 locks up completely as it goes through the various steps. Is this just part of working with Unreal, or is there a better way I’m not aware of? For reference, this is a 3 story building created in Revit. And oddly enough, only takes about 12 minutes to light bake …

---

<div class="post-metadata">

**Author:** ![malik\_217](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@malik\_217](https://forums.unrealengine.com/u/malik_217)\
**Post date:** [May 5, 2025, 7:49am UTC](https://forums.unrealengine.com/t/datasmith-and-cleaning-the-project-from-unnecessary-mesh/2421624/3 "2025-05-05T07:49:18Z")

</div>

You can try this way to remove your unused assets, but first i would recommend copying your entire Project and try this in that copied project so even if you delete anything which you didn’t want to, then you could recover it from the original file.

Go to the **filters tab** in the **Content Browser** and the scroll down to other filter in there you can find 2 options, one is not used in any level and other is not used in any assets.

If you want to just clear everything that is not used in your project i would go for the option of not used in any level, after that just select all the assets that are shown and simply delete, do remember that some assets might be influencing some other assets, like any material or mesh in some blueprint that is used in the level. It’s not Perfect but I use it quite often whenever there is too much trash in my Projects. You can also go from folder to folder as well while enabling this filter so it would be more convenient as to what to delete and what not to.

 ![Screenshot 2025-05-05 1307422](https://d3kjluh73b9h9o.cloudfront.net/original/4X/e/0/6/e06280a2b09d6824c9ae4eedeb4f1a45dff2af75.png)

---

<div class="post-metadata">

**Author:** ![thhm](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@thhm](https://forums.unrealengine.com/u/thhm)\
**Post date:** [May 27, 2025, 6:05am UTC](https://forums.unrealengine.com/t/datasmith-and-cleaning-the-project-from-unnecessary-mesh/2421624/4 "2025-05-27T06:05:02Z")

</div>

Thanks, I too struggle with cleaning up my project, and the “Not used..” filters were very helpful. However I noticed that it’s quite conservative, sometimes doesnt detect accurately which geometries are not used?  
I tried this:

1. Create 2 unique meshes in 3ds max -(lets say sphere and box) \> export via Datasmith → import into UE5.5  
-the 2 meshes get listed in the geometries folder inside unreal

2. Do an edit, for example delete the sphere mesh in max\_\> reexport (box only) via Datasmith, overwriting the old datasmith export → UE5 right click “reimport” datasmith scene actor

- the datasmith actor in scene gets updated (sphere disappears), but the sphere geo is still in the geometries folder.

1. Enable “Not Used in any level” Filter in geometries folder  
-the sphere is not shown, meaning it is still considered USED IN LEVEL even though it’s not being referenced by anything in the scene(!)

is there any way to detect unused geometry in the Datasmith folder so we can delete them and regain space/ speed up git uploads etc?

---

<div class="post-metadata">

**Author:** ![malik\_217](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@malik\_217](https://forums.unrealengine.com/u/malik_217)\
**Post date:** [May 27, 2025, 6:48am UTC](https://forums.unrealengine.com/t/datasmith-and-cleaning-the-project-from-unnecessary-mesh/2421624/5 "2025-05-27T06:48:47Z")

</div>

I don’t think there is any feature or workaround for that, just yesterday i was re-exporting some assets from 3dsmax some new ones and some old ones and the exact thing that you mention in point 2 happens that the mesh in Viewport disappears but are present in Outliner.

1. Now what you can do is delete the Datasmith actors from your scene and drag and drop manually  
your datasmith scene and just reset the transfrom and rotation to get the same position as you would in your 3dsmax file.

 ![image](https://d3kjluh73b9h9o.cloudfront.net/original/4X/1/8/d/18db35d04dbfa16a189c1393918ad7f78c9d776b.png)

1. After this you can go to delete assets not in level an delete them

**Note :- I did not try the second point which is delete assets from level as i didn’t need to but i think this might solve your problem.**

---

<div class="post-metadata">

**Author:** ![thhm](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@thhm](https://forums.unrealengine.com/u/thhm)\
**Post date:** [May 27, 2025, 8:29am UTC](https://forums.unrealengine.com/t/datasmith-and-cleaning-the-project-from-unnecessary-mesh/2421624/6 "2025-05-27T08:29:37Z")

</div>

Hi Malik,

Thanks for the reply! I tried this (deleting the Datasmith actor and children in the scene then manually placing the same datasmith actor) but unfortunately the filter still doesnt detect the sphere mesh in my content library as “unused”. ☹

For now my only way to make sure I dont have duplicates or unused geo is to just delete the Datasmith folder entirely and reimport a fresh one. Which means i have to reapply materials (sad).. but throughout the course of the project, if i know theres a lot of trash there it’s worth it.

BTW this also applies to the ACTUAL Datasmith folder in windows itself; that is every reexport of Datasmith only keeps adding files, conservatively it never deletes old ones. ie If youre like me and you keep overwriting the old datasmith files whenever you update, then there might be lots old files there that are not used, still taking space in your harddrive.

Cheers.

---

<div class="post-metadata">

**Author:** ![Swolf74](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Swolf74](https://forums.unrealengine.com/u/Swolf74)\
**Post date:** [June 16, 2025, 11:48am UTC](https://forums.unrealengine.com/t/datasmith-and-cleaning-the-project-from-unnecessary-mesh/2421624/7 "2025-06-16T11:48:48Z")

</div>

![image](https://d3kjluh73b9h9o.cloudfront.net/original/4X/f/d/a/fda477aa375abc561b0a2ea6d8bdb37cbbe0b15a.png)  
This garbage is easy to remove, but Datasmith is not searched. There should be more than 10000 Static Mesh here

---

<div class="post-metadata">

**Author:** ![Swolf74](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Swolf74](https://forums.unrealengine.com/u/Swolf74)\
**Post date:** [July 16, 2025, 9:46am UTC](https://forums.unrealengine.com/t/datasmith-and-cleaning-the-project-from-unnecessary-mesh/2421624/8 "2025-07-16T09:46:06Z")

</div>

From the root actor (which will be similar to the name of the imported file **name**.udatasmith), move everything to a folder or another actor. I’m talking about Outliner. After that, “_Not used in any level_” works

---

<div class="post-metadata">

**Author:** ![Swolf74](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Swolf74](https://forums.unrealengine.com/u/Swolf74)\
**Post date:** [July 16, 2025, 11:18am UTC](https://forums.unrealengine.com/t/datasmith-and-cleaning-the-project-from-unnecessary-mesh/2421624/9 "2025-07-16T11:18:52Z")

</div>

> [@Datasmith and cleaning the project from unnecessary Mesh](https://forums.unrealengine.com/t/datasmith-and-cleaning-the-project-from-unnecessary-mesh/2421624/8):
>
> From the root actor (which will be similar to the name of the imported file name.udatasmith), move everything to a folder or another actor. I’m talking about Outliner. After that, “Not used in any level” works

---

<div class="post-metadata">

**Author:** ![JakeMiller5](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@JakeMiller5](https://forums.unrealengine.com/u/JakeMiller5)\
**Post date:** [August 12, 2025, 10:41am UTC](https://forums.unrealengine.com/t/datasmith-and-cleaning-the-project-from-unnecessary-mesh/2421624/10 "2025-08-12T10:41:27Z")

</div>

I’ve run into a similar issue when importing large architectural models with Datasmith. The “Not used in any level” filter works well after reorganizing everything under a single root in the Outliner, but for really messy projects with thousands of duplicate meshes, I’ve also had to manually identify and batch-replace assets in smaller chunks to avoid errors.

Interestingly, at [https://www.aftermathinvestigations.com/](https://www.aftermathinvestigations.com/) we face a similar challenge but in a totally different field—digital evidence analysis. Just like with Unreal projects, finding and removing duplicate or irrelevant data is crucial to keeping things organized and efficient. In both cases, having a structured process saves a lot of headaches.

---

<div class="post-metadata">

**Author:** ![DaviidHenry](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@DaviidHenry](https://forums.unrealengine.com/u/DaviidHenry)\
**Post date:** [September 25, 2025, 9:58am UTC](https://forums.unrealengine.com/t/datasmith-and-cleaning-the-project-from-unnecessary-mesh/2421624/11 "2025-09-25T09:58:23Z")

</div>

Hi @Swolf74, yes, this is a common issue when importing large projects through Datasmith, especially from Revit → 3dsMax → UE5. Identical meshes often get duplicated, which makes cleaning up the project a challenge. One approach is to consolidate meshes using the “Merge Actors” tool in the UE5 editor, and then check the Outliner for unused assets. The “Not Used in Any Level” filter in the Content Browser is really helpful for identifying which meshes can be safely deleted without breaking references.

I’ve also seen teams automate this by using scripts to batch-check and remove unused assets, which saves a ton of manual work when dealing with thousands of meshes. If you want to explore similar workflows or even share your own, you might find inspiration in creative problem-solving communities like [birthday wishes for friends](https://birthdaywishfriends.com/) where people post and share ideas across different fields.
