Ответ: Вопросы от новичка
Скачал вчера новый юнити и сразу начали вылазить ошибки
Mesh.vertices is too small. The supplied vertex array has less vertices than are referenced by the triangles array.
Mesh.uv is out of bounds. The supplied array needs to be the same size as the Mesh.vertices array.
Mesh.normals is out of bounds. The supplied array needs to be the same size as the Mesh.vertices array.
Хотя если теперь перед генерацией вызвать mesh.Clear(); то нормально все. С чего такие требования теперь?
|