I am merging multiple objects sharing the same material into one mesh; everything was working fine until now. It seems that the error happens since I changed my workflow from using 3ds max / 3ds max exporter to using Blender / Blender Exporter 6.2.
On the first attempt to use
BABYLON.Mesh.MergeMeshes(meshes, true, true), I get the error:
Uncaught (in promise) Error: The tangents element count (871) does not match the positions count (1161) at i (babylon.js:formatted:1) at e._validate (babylon.js:formatted:1) at e.merge (babylon.js:formatted:1) at Function.t.MergeMeshes (babylon.js:formatted:1) at BlobTilemapInstancer../src/MazeGeneration/Instancers/ATilemapInstancer.ts.ATilemapInstancer.MergeMeshesByChunk (ATilemapInstancer.ts:137) at BlobTilemapInstancer.<anonymous> (BlobTilemapInstancer.ts:226) at step (BlobTilemapInstancer.ts:45) at Object.next (BlobTilemapInstancer.ts:26) at BlobTilemapInstancer.ts:20 at new Promise (<anonymous>)
Do you know what this
The tangents element count (871) does not match the positions count (1161) could mean? is it something that I can correct within Blender?