Error merging meshes gltf

https://playground.babylonjs.com/#7H7F1Z#8

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?

thanks

pinging @Drigax to see if he can help

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

https://playground.babylonjs.com/#7H7F1Z#9

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:

https://playground.babylonjs.com/#7H7F1Z#10