# Merge meshes of an gltf or glb

**URL:** <https://forum.babylonjs.com/t/merge-meshes-of-an-gltf-or-glb/8422>\
**Category:** Questions\
**Created:** [February 4, 2020, 5:11pm UTC](https://forum.babylonjs.com/t/merge-meshes-of-an-gltf-or-glb/8422 "2020-02-04T17:11:24Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![gep](https://avatars.discourse-cdn.com/v4/letter/g/dec6dc/32.png) [@gep](https://forum.babylonjs.com/u/gep)\
**Post date:** [February 4, 2020, 5:11pm UTC](https://forum.babylonjs.com/t/merge-meshes-of-an-gltf-or-glb/8422/1 "2020-02-04T17:11:24Z")

</div>

Hey guys, I was trying to load a gltf file and merge the meshes.  
Loading is complete but the merge throws an error in console: “Uncaught (in promise) Error: Positions are required”  
This is the demo: [Babylon.js Playground](https://playground.babylonjs.com/#7H7F1Z)  
I appreciate any help, link on documentation etc.  
Thank you

---

<div class="post-metadata">

**Author:** ![Deltakosh](https://sea2.discourse-cdn.com/flex024/user_avatar/forum.babylonjs.com/deltakosh/32/26635_2.png) [@Deltakosh](https://forum.babylonjs.com/u/Deltakosh)\
**Post date:** [February 4, 2020, 5:35pm UTC](https://forum.babylonjs.com/t/merge-meshes-of-an-gltf-or-glb/8422/2 "2020-02-04T17:35:35Z")

</div>

Hello and welcome!

This is because all meshes are not with geometry: [https://playground.babylonjs.com/#7H7F1Z#2](https://playground.babylonjs.com/#7H7F1Z#2)

---

<div class="post-metadata">

**Author:** ![gep](https://avatars.discourse-cdn.com/v4/letter/g/dec6dc/32.png) [@gep](https://forum.babylonjs.com/u/gep)\
**Post date:** [February 5, 2020, 9:15am UTC](https://forum.babylonjs.com/t/merge-meshes-of-an-gltf-or-glb/8422/3 "2020-02-05T09:15:40Z")

</div>

Cool thank you for the support!  
I’ve obtained this gltf converting an obj file with obj2gltf. As with merging of obj meshes I had non issues I was expecting the same for gltf file
