# UProceduralMeshComponent::ClickedOnConvertToStaticMesh::Wont work with only 3 vertex

**URL:** <https://forums.unrealengine.com/t/uproceduralmeshcomponent-wont-work-with-only-3-vertex/385920>\
**Category:** C++\
**Tags:** unreal-engine, bug-report, question, CPP\
**Created:** [February 23, 2017, 12:15pm UTC](https://forums.unrealengine.com/t/uproceduralmeshcomponent-wont-work-with-only-3-vertex/385920 "2017-02-23T12:15:58Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![anonymous\_user\_48723a78](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@anonymous\_user\_48723a78](https://forums.unrealengine.com/u/anonymous_user_48723a78)\
**Post date:** [February 23, 2017, 12:15pm UTC](https://forums.unrealengine.com/t/uproceduralmeshcomponent-wont-work-with-only-3-vertex/385920/1 "2017-02-23T12:15:58Z")

</div>

FProceduralMeshComponentDetails::ClickedOnConvertToStaticMesh().

At line 127 (// If we got some valid data. ) Checks for more than 3 vertices:  
if (RawMesh.VertexPositions.Num() \> 3 && RawMesh.WedgeIndices.Num() \> 3)

It should be \>= 3 so it does not fail when there is only one polygon

---

<div class="post-metadata">

**Author:** ![anonymous\_user\_41845f4a](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@anonymous\_user\_41845f4a](https://forums.unrealengine.com/u/anonymous_user_41845f4a)\
**Post date:** [February 23, 2017, 4:23pm UTC](https://forums.unrealengine.com/t/uproceduralmeshcomponent-wont-work-with-only-3-vertex/385920/2 "2017-02-23T16:23:56Z")

</div>

Hello Yahll,

Thank you for reporting this issue. I’ve reproduced what you’re reporting and, while I’m not sure if this may be intended, I’ve entered a bug report. Even if it’s not intended to be able to make a static mesh with only 3 verts, I’ve requested that they add a warning/error if so. You can find the report and track it here: [UE-42310](https://issues.unrealengine.com/issue/UE-42310)

Have a nice day!
