# Procedural mesh creation error

**URL:** <https://forums.unrealengine.com/t/procedural-mesh-creation-error/2321010>\
**Category:** Blueprint\
**Tags:** unreal-engine, procedural-mesh, procedural, question\
**Created:** [February 7, 2025, 2:23am UTC](https://forums.unrealengine.com/t/procedural-mesh-creation-error/2321010 "2025-02-07T02:23:55Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![Eat\_Beets](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Eat\_Beets](https://forums.unrealengine.com/u/Eat_Beets)\
**Post date:** [February 7, 2025, 2:23am UTC](https://forums.unrealengine.com/t/procedural-mesh-creation-error/2321010/1 "2025-02-07T02:23:55Z")

</div>

I’m having an issue with my procedural mesh component where My triangles are generated, but mesh artifacts are created and can be seen at oblique angles (as seen in image shown).

I was hoping someone would be able to diagnose this/tell me the proper order of generating a grid of squares using blueprints. I have attached images of my methods for generating vertices and then corresponding vertices. The order that I am inserting vertices for the different squares are: Bottom Right, Bottom Left, Top Left, Top Right, Bottom Right, Top Left.

 ![generateVerticesFunction](https://d3kjluh73b9h9o.cloudfront.net/original/4X/f/0/2/f0299fac1b814a372578659eeb585c87abd06e29.png)  
 ![GenerateTrianglesFunction](https://d3kjluh73b9h9o.cloudfront.net/original/4X/0/1/0/010bf1216f58a1db4fd2661ec00cad5b5eb4f8f8.png)  
 ![Terrain](https://d3kjluh73b9h9o.cloudfront.net/original/4X/8/5/1/851f6ddee36cc612d70d8597a08d7404a8bc94c6.jpeg)
