# The GLTF2Exported glb doesn't contain the assigned PBRMetallicRoughnessMaterial - in newer versions

**URL:** <https://forum.babylonjs.com/t/the-gltf2exported-glb-doesnt-contain-the-assigned-pbrmetallicroughnessmaterial-in-newer-versions/59353>\
**Category:** Bugs\
**Tags:** material, glb, gltf2export\
**Created:** [July 3, 2025, 8:11am UTC](https://forum.babylonjs.com/t/the-gltf2exported-glb-doesnt-contain-the-assigned-pbrmetallicroughnessmaterial-in-newer-versions/59353 "2025-07-03T08:11:37Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![ThalerMatthias](https://avatars.discourse-cdn.com/v4/letter/t/e9a140/32.png) [@ThalerMatthias](https://forum.babylonjs.com/u/ThalerMatthias)\
**Post date:** [July 3, 2025, 8:11am UTC](https://forum.babylonjs.com/t/the-gltf2exported-glb-doesnt-contain-the-assigned-pbrmetallicroughnessmaterial-in-newer-versions/59353/1 "2025-07-03T08:11:37Z")

</div>

In newer versions the glb export (GLTF2Export.GLBAsync) loses the Material.  
Same Playground on different versions:  
[Babylon.js Playground](https://playground.babylonjs.com/#8AIAXC) - version 8.14.1 doesn’t work  
same link with version 5.57.1 does work

(i use blender 4.1 to check if the material is on the sphere)

---

<div class="post-metadata">

**Author:** ![Cedric](https://sea2.discourse-cdn.com/flex024/user_avatar/forum.babylonjs.com/cedric/32/2742_2.png) [@Cedric](https://forum.babylonjs.com/u/Cedric)\
**Post date:** [July 3, 2025, 9:17am UTC](https://forum.babylonjs.com/t/the-gltf2exported-glb-doesnt-contain-the-assigned-pbrmetallicroughnessmaterial-in-newer-versions/59353/2 "2025-07-03T09:17:59Z")

</div>

cc @alexchuber

---

<div class="post-metadata">

**Author:** ![alexchuber](https://sea2.discourse-cdn.com/flex024/user_avatar/forum.babylonjs.com/alexchuber/32/52000_2.png) [@alexchuber](https://forum.babylonjs.com/u/alexchuber)\
**Post date:** [July 3, 2025, 4:41pm UTC](https://forum.babylonjs.com/t/the-gltf2exported-glb-doesnt-contain-the-assigned-pbrmetallicroughnessmaterial-in-newer-versions/59353/3 "2025-07-03T16:41:34Z")

</div>

Assigned @alexchuber on July 3, 2025, 4:41pm UTC



---

<div class="post-metadata">

**Author:** ![alexchuber](https://sea2.discourse-cdn.com/flex024/user_avatar/forum.babylonjs.com/alexchuber/32/52000_2.png) [@alexchuber](https://forum.babylonjs.com/u/alexchuber)\
**Post date:** [July 8, 2025, 3:45pm UTC](https://forum.babylonjs.com/t/the-gltf2exported-glb-doesnt-contain-the-assigned-pbrmetallicroughnessmaterial-in-newer-versions/59353/4 "2025-07-08T15:45:11Z")

</div>

Thanks for the catch!

> <https://github.com/BabylonJS/Babylon.js/pull/16857>
>
> Was preventing PBRMetallicRoughnessMaterial and PBRSpecularGlossinessMaterial fr…om exporting. Material exporter seems to handle them fine.

---

<div class="post-metadata">

**Author:** ![alexchuber](https://sea2.discourse-cdn.com/flex024/user_avatar/forum.babylonjs.com/alexchuber/32/52000_2.png) [@alexchuber](https://forum.babylonjs.com/u/alexchuber)\
**Post date:** [July 8, 2025, 5:33pm UTC](https://forum.babylonjs.com/t/the-gltf2exported-glb-doesnt-contain-the-assigned-pbrmetallicroughnessmaterial-in-newer-versions/59353/5 "2025-07-08T17:33:19Z")

</div>

Unassigned @alexchuber on July 8, 2025, 5:33pm UTC


