I was attempting to increase facet density on a custom-created mesh defined with no UVs when Babylon threw a
VertexData contains null entries warning.
Looking at the source code, I concluded that my mesh was ‘missing’ UV data.
Assigning a zero-filled array to
vertexData.uvs did the trick. Still…
As the library allows creation of custom meshes without UVs, wouldn’t it make sense to make
Mesh.increaseVertices() work on such meshes?
Also, the doc says that the
numberPerEdge parameter is optional, but this doesn’t seem to be correct.