# GLB file not loaded correctly

**URL:** <https://forum.babylonjs.com/t/glb-file-not-loaded-correctly/42428>\
**Category:** Bugs\
**Created:** [July 14, 2023, 8:29am UTC](https://forum.babylonjs.com/t/glb-file-not-loaded-correctly/42428 "2023-07-14T08:29:13Z")\
**Posts on this page:** 1\
**Showing post:** 15

<div class="post-metadata">

**Author:** ![bghgary](https://sea2.discourse-cdn.com/flex024/user_avatar/forum.babylonjs.com/bghgary/32/48532_2.png) [@bghgary](https://forum.babylonjs.com/u/bghgary)\
**Post date:** [July 22, 2023, 1:05am UTC](https://forum.babylonjs.com/t/glb-file-not-loaded-correctly/42428/15 "2023-07-22T01:05:46Z")

</div>

Regarding the boot issue, this is still an issue with the asset. The reason why it only happens in Babylon is probably because we are the only loader that uses the `skeleton` property of the glTF which has been incorrectly set in the asset.

It turns out that I was wrong about the glTF Validation errors not causing the problems. The warnings are ignorable, but the first error is the exact source of the issue.

```json
      {
        "code": "SKIN_SKELETON_INVALID",
        "message": "Skeleton node is not a common root.",
        "severity": 0,
        "pointer": "/skins/1/skeleton"
      },

```

The offending glTF JSON:

```json
    {
      "joints": [
        56,
        57,
        58,
        59,
        60,
        61,
        62,
        63,
        64,
        65
      ],
      "inverseBindMatrices": 49,
      "skeleton": 56 // ***this node is not a common root of the nodes in the list above***
    },

```

If this node is not a common root, the loader will load incorrectly for some cases. Changing this value to `1` or removing this property (such that the loader will auto-calculate the common root) fixes the issue.

---

_[View the full topic](https://forum.babylonjs.com/t/glb-file-not-loaded-correctly/42428)._
