# StaticMeshImport in Chaos Panel Cloth gives "Failed to generate skinning data, found coincident vertices in triangle" but it must be a bug

**URL:** <https://forums.unrealengine.com/t/staticmeshimport-in-chaos-panel-cloth-gives-failed-to-generate-skinning-data-found-coincident-vertices-in-triangle-but-it-must-be-a-bug/2052540>\
**Category:** Asset Creation\
**Tags:** Cloth, clothing, unreal-engine\
**Created:** [October 4, 2024, 8:03am UTC](https://forums.unrealengine.com/t/staticmeshimport-in-chaos-panel-cloth-gives-failed-to-generate-skinning-data-found-coincident-vertices-in-triangle-but-it-must-be-a-bug/2052540 "2024-10-04T08:03:29Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![BreakMaker](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/breakmaker/32/971651_2.png) [@BreakMaker](https://forums.unrealengine.com/u/BreakMaker)\
**Post date:** [October 4, 2024, 8:03am UTC](https://forums.unrealengine.com/t/staticmeshimport-in-chaos-panel-cloth-gives-failed-to-generate-skinning-data-found-coincident-vertices-in-triangle-but-it-must-be-a-bug/2052540/1 "2024-10-04T08:03:30Z")

</div>

Hi,

I have been developing some clothing assets for Metahumans and thought I would try the new Panel Cloth approach.  
For all assets I merged inside the editor (using the Merge Tool or Merge in Modeling mode) I got the above mentioned error. First I thought I had coincident vertices so I went to Blender and merged by distance but no merging took place. Because there were no coincident vertices. The mesh data the panel cloth looks at “makes up” some non-existing triangles.

In this post I describe a concrete example with a screenshot and show that the supposed triangle with coicident vertices did not even exist. [Failed to generate clothing sim mesh due to degenerate triangle - #9 by BreakMaker](https://forums.unrealengine.com/t/failed-to-generate-clothing-sim-mesh-due-to-degenerate-triangle/94634/9)

Must be a bug / issue which occured when I used the merging tools to merge the meshes and thus some vertices got new vertex positions assigned.

---

<div class="post-metadata">

**Author:** ![Hype\_Ldbg](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Hype\_Ldbg](https://forums.unrealengine.com/u/Hype_Ldbg)\
**Post date:** [October 13, 2024, 2:37pm UTC](https://forums.unrealengine.com/t/staticmeshimport-in-chaos-panel-cloth-gives-failed-to-generate-skinning-data-found-coincident-vertices-in-triangle-but-it-must-be-a-bug/2052540/2 "2024-10-13T14:37:11Z")

</div>

I’m having the same issue and can’t find a solution.  
After merging by distance (default 0.0001 m) in Blender, the error doesn’t go away, but there’s less coincident vertices according to the UE log.  
Funnily enough, if I then merge by distance 0.0002 m in Blender, I’m getting more coincident vertices in UE… please someone explain what’s going on.

---

<div class="post-metadata">

**Author:** ![BreakMaker](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/breakmaker/32/971651_2.png) [@BreakMaker](https://forums.unrealengine.com/u/BreakMaker)\
**Post date:** [October 15, 2024, 11:51am UTC](https://forums.unrealengine.com/t/staticmeshimport-in-chaos-panel-cloth-gives-failed-to-generate-skinning-data-found-coincident-vertices-in-triangle-but-it-must-be-a-bug/2052540/3 "2024-10-15T11:51:51Z")

</div>

How did you create your mesh? Did you merge at some point? Merge materials or geometry?

---

<div class="post-metadata">

**Author:** ![Hype\_Ldbg](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Hype\_Ldbg](https://forums.unrealengine.com/u/Hype_Ldbg)\
**Post date:** [October 15, 2024, 11:59am UTC](https://forums.unrealengine.com/t/staticmeshimport-in-chaos-panel-cloth-gives-failed-to-generate-skinning-data-found-coincident-vertices-in-triangle-but-it-must-be-a-bug/2052540/4 "2024-10-15T11:59:54Z")

</div>

Yes, I merged materials and that caused the issue.  
If I leave it with the five materials I get from Marvelous Designer, it works.  
If I merge them to one material, which I need for Substance Painter, I get this error.
