- Home /
Generating Mesh at runtime, vertex count different
Hi, I generate quad mesh with two triangles giving 6 vertex positions total. Is all fine to the point when I want to edit vertex positions. mesh.vetrixes.Length returns 4 instead of 6. Does unity do any of its own behind the scenes optimalization? Is constructing new mesh each time I want to edit it?
Comment
Your answer
![](https://koobas.hobune.stream/wayback/20220613153039im_/https://answers.unity.com/themes/thub/images/avi.jpg)