# Cloth Simulation is not working after Skeletal Mesh Merge

**URL:** <https://forums.unrealengine.com/t/cloth-simulation-is-not-working-after-skeletal-mesh-merge/625307>\
**Category:** Character & Animation\
**Tags:** unreal-engine, UE5-0, question\
**Created:** [August 10, 2022, 8:00am UTC](https://forums.unrealengine.com/t/cloth-simulation-is-not-working-after-skeletal-mesh-merge/625307 "2022-08-10T08:00:07Z")\
**Posts on this page:** 7\
**Page:** 1

<div class="post-metadata">

**Author:** ![Naios](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Naios](https://forums.unrealengine.com/u/Naios)\
**Post date:** [August 10, 2022, 8:00am UTC](https://forums.unrealengine.com/t/cloth-simulation-is-not-working-after-skeletal-mesh-merge/625307/1 "2022-08-10T08:00:07Z")

</div>

I have the issue that cloth simulation stops working when the skeletal mesh is merged through **skeletal mesh merge** `FSkeletalMeshMerge::DoMerge`. The cloth simulation works from a standalone `SkeletalMeshComponent` but stops working if the mesh is merged with others.

Did anyone find a solution to this issue yet? There are various reports of this issue, but it seems like there has not been an update to this for a long time.

- Ref: [When using skeletal Mesh merge, cloth simulation stops working - #3 by Luis\_Schmitz](https://forums.unrealengine.com/t/when-using-skeletal-mesh-merge-cloth-simulation-stops-working/453593/3)
- Ref: [Cloth simulation not working on mesh](https://forums.unrealengine.com/t/cloth-simulation-not-working-on-mesh/138161)

---

<div class="post-metadata">

**Author:** ![SideniuS](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@SideniuS](https://forums.unrealengine.com/u/SideniuS)\
**Post date:** [August 21, 2023, 6:35am UTC](https://forums.unrealengine.com/t/cloth-simulation-is-not-working-after-skeletal-mesh-merge/625307/2 "2023-08-21T06:35:18Z")

</div>

Did you find a solution to this? I’m having the same problem.

---

<div class="post-metadata">

**Author:** ![flyttia33](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@flyttia33](https://forums.unrealengine.com/u/flyttia33)\
**Post date:** [May 27, 2024, 9:39pm UTC](https://forums.unrealengine.com/t/cloth-simulation-is-not-working-after-skeletal-mesh-merge/625307/3 "2024-05-27T21:39:22Z")

</div>

Bumping this for visibility as I’m also running into the same issue, I’ve tried setting the Physics Asset in the Character Blueprint, adding a Rigid Body node in the Animation Blueprint as with other meshes and still can’t get the cloth sim to work on the merged mesh. Currently running into a dead end with how to debug this any further.

Also the documentation on modular characters just says “Yes” in Physics section under Skeletal Mesh Merge as opposed to specifically mentioning AnimDynamics or RigidBody, I’m wondering if mesh merging is even intended to include them based on this?

 ![image](https://d3kjluh73b9h9o.cloudfront.net/original/4X/1/3/c/13cb7fc0be633baa221a18fdd6f6ab0c9b62a3bc.png)

---

<div class="post-metadata">

**Author:** ![flyttia33](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@flyttia33](https://forums.unrealengine.com/u/flyttia33)\
**Post date:** [June 18, 2024, 3:55pm UTC](https://forums.unrealengine.com/t/cloth-simulation-is-not-working-after-skeletal-mesh-merge/625307/4 "2024-06-18T15:55:51Z")

</div>

Adding here for future reference, apparently merging meshes does in fact disable cloth sim. The solution I was given and that has worked so far is to only merge the meshes that **do not** require cloth sim, and underneath that component, add separate skeletal mesh components for those that do need cloth sim using the Copy Pose from Mesh method. So you inevitably end up with additional Anim BPs and SkelMesh components for each mesh using cloth sim.

---

<div class="post-metadata">

**Author:** ![MostHost\_LA](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/mosthost_la/32/907035_2.png) [@MostHost\_LA](https://forums.unrealengine.com/u/MostHost_LA)\
**Post date:** [June 18, 2024, 9:10pm UTC](https://forums.unrealengine.com/t/cloth-simulation-is-not-working-after-skeletal-mesh-merge/625307/5 "2024-06-18T21:10:24Z")

</div>

You people **really** need to stop and think before you do stuff.

**obviously** merging a cloth mesh disables cloth.  
Why would it not?  
You are taking an indexed mesh, attaching it into another mesh, and changing all of the indicis.

What do you think the cloth settings from the originally indexed mesh are going to achieve on the new mesh where the indicies are different?

If your question were to be _why does the engine not read the data and re-create what it needs after merging_ - you could potentially have a point.  
But we are talking about epic here.  
You are lucky the engine works at the 2fps it works with, don’t go asking for _nice_ things…

Additionally though, skeletal mesh merge works at runtime - and generating/saving the cloth data can take up to an hour depending on the vertex count.  
So you are obviously barking up a very wrong tree.

What you want is something that is _not_ done at runtime. Saved, stored, and ready to be re-used.  
If that means just leaving individual meshes attached, then thats what you _have_ to do.

I know of no engine where a runtime merge manages to create one skeletal mesh, recompute Physx based cloth, and utilize it on the model on the fly.

But - some engines offer you the possibility to direct what mesh indicis to _leave alone_:  
You can therefore say _this is the first mesh, do not change indicis_, the rest are those meshes here, once done, apply the cloth back onto it - which still takes processing time - and it does usually work.

If you code up your own version of a skeletalmeshmerge with cpp you can potentially try to get this done even in unreal - but i doubt it would work in pacrice because the associaction of cloth is engine editor driven only, at least for the physx cloth…

---

<div class="post-metadata">

**Author:** ![Capmare](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Capmare](https://forums.unrealengine.com/u/Capmare)\
**Post date:** [June 20, 2024, 9:10pm UTC](https://forums.unrealengine.com/t/cloth-simulation-is-not-working-after-skeletal-mesh-merge/625307/6 "2024-06-20T21:10:50Z")

</div>

I don t think there is a need to generate any cloth data, i have modified the mesh merge to merge the physics assets and transfer the cloth data from the old skeletal mesh to the new one, checked the mesh at runtime and it seems that everything is set up as it should be and even the vertex cloth data stays intact. That being said, even after doing all of that cloth simulation still doesn’t work for some reason

---

<div class="post-metadata">

**Author:** ![MostHost\_LA](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/mosthost_la/32/907035_2.png) [@MostHost\_LA](https://forums.unrealengine.com/u/MostHost_LA)\
**Post date:** [June 21, 2024, 4:37am UTC](https://forums.unrealengine.com/t/cloth-simulation-is-not-working-after-skeletal-mesh-merge/625307/7 "2024-06-21T04:37:51Z")

</div>

It is because of the cloth data and the change of the indexing, like I said.
