Hi guys,
I found a problem when importing/exporting GLTF model. My model has several nodes that contain sub-meshes that I exported it from Unity for testing. In Unity, PlayCanvas, and Blender, they all display the “single_node_multi_submeshes_*” node as a single node (with sub-meshes) information, but in Babylonjs this node is displayed as a TransformNode with multiple mesh nodes in it.
In PlayCanvas
In Babylonjs
Then when exporting the imported file (GLB export function in Debug Layer), the exported file is not in the same structure as the original model file. The “single_node_multi_submeshes_*” mesh is converted to GLTF’s node and its sub-meshes become individual meshes rather than primitives. This issue also happens in the newly created “box_merged” which has 2 submeshes I created at runtime.
Check it out
GLB import and export - submeshes problem | Babylon.js Playground (babylonjs.com)
Any suggestion?