Error merging meshes gltf

I got error when merging the resulting load gltf…
I have followed this way: Merge meshes of an gltf or glb

but didn’t work for me…

what’s the solution?


pinging @Drigax to see if he can help

Your PG does not compile, check the error in the browser console.

sorry, I was fix…

Some of your meshes don’t have uvs, so can’t be merge with meshes that have uvs.

Also, you probably want to retain the textures of your meshes, so you will need to set set the multiMaterials flag of MergeMeshes: