# Problem loading GLTB files

**URL:** https://community.cesium.com/t/problem-loading-gltb-files/6636
**Category:** CesiumJS
**Created:** [March 7, 2018, 9:17am UTC](https://community.cesium.com/t/problem-loading-gltb-files/6636 "2018-03-07T09:17:29Z")
**Posts on this page:** 5
**Page:** 1

<div class="post-metadata">

### Author: ![kredik](https://sea2.discourse-cdn.com/cesium/user_avatar/community.cesium.com/kredik/32/14000_2.png) [@kredik](https://community.cesium.com/u/kredik)
#### Post date: [March 7, 2018, 9:17am UTC](https://community.cesium.com/t/problem-loading-gltb-files/6636/1 "2018-03-07T09:17:29Z")

</div>

Hi All,

I have converted a 3D model into GLB using ASSIMP (version 4.1.0).

Generated GLTB file load fine into Visual Code viewers based on babylon and threeJS (see attachment) but failed to load into the viewer based on Cesium.

It also failed when loaded from the 3D Models page of the sandcastle.

I have joined :

- the GLB file

- a screenshot of the error

- a screenshot of the location, in the Cesium code, where the exception is thrown.

As you can see, primitiveInfo is undefined.

As this point, I don’t know if the file generated via Assimp have problems (but it loads fine into other viewers) or if the cesium parser is more restrictive then others.

The cesium version is 1.43 / Windows 10 / Chrome.

Any help appreciated.

Frederic.

[Buildings1.glb](https://community.cesium.com/uploads/short-url/j5YsD1QE9C0TPweTbybRuezkRK3.glb) (1.14 MB)

 ![error.png](https://global.discourse-cdn.com/cesium/original/1X/e215f9f71afd4452f201bde8653000798c723a5b.png)

 ![location.png](https://global.discourse-cdn.com/cesium/original/1X/a512c63fadb817bb08ffd0c185dd59b1cbc9c486.png)

 ![visualcode.png](https://global.discourse-cdn.com/cesium/original/1X/2705f7ad32dfa873f1b76180e21b02ec8f08893f.png)

---

<div class="post-metadata">

### Author: ![sean\_lilley](https://sea2.discourse-cdn.com/cesium/user_avatar/community.cesium.com/sean_lilley/32/2083_2.png) [@sean\_lilley](https://community.cesium.com/u/sean_lilley)
#### Post date: [March 9, 2018, 12:27am UTC](https://community.cesium.com/t/problem-loading-gltb-files/6636/2 "2018-03-09T00:27:24Z")

</div>

Hi Frédéric, this turned out to be a Cesium bug. I submitted a fix here with more info: [https://github.com/AnalyticalGraphicsInc/cesium/pull/6315](https://github.com/AnalyticalGraphicsInc/cesium/pull/6315).

---

<div class="post-metadata">

### Author: ![kredik](https://sea2.discourse-cdn.com/cesium/user_avatar/community.cesium.com/kredik/32/14000_2.png) [@kredik](https://community.cesium.com/u/kredik)
#### Post date: [March 10, 2018, 6:12pm UTC](https://community.cesium.com/t/problem-loading-gltb-files/6636/3 "2018-03-10T18:12:58Z")

</div>

Hi Sean,  
thanks a lot for the fix.

We will try it ASAP.

Fred.

---

<div class="post-metadata">

### Author: ![sean\_lilley](https://sea2.discourse-cdn.com/cesium/user_avatar/community.cesium.com/sean_lilley/32/2083_2.png) [@sean\_lilley](https://community.cesium.com/u/sean_lilley)
#### Post date: [March 13, 2018, 1:21pm UTC](https://community.cesium.com/t/problem-loading-gltb-files/6636/4 "2018-03-13T13:21:01Z")

</div>

Just wanted to let you know that the fix was merged and will be included in Cesium 1.44 on April 2.

---

<div class="post-metadata">

### Author: ![kredik](https://sea2.discourse-cdn.com/cesium/user_avatar/community.cesium.com/kredik/32/14000_2.png) [@kredik](https://community.cesium.com/u/kredik)
#### Post date: [March 19, 2018, 10:00am UTC](https://community.cesium.com/t/problem-loading-gltb-files/6636/5 "2018-03-19T10:00:28Z")

</div>

Hi Sean,  
that’s a very good news. I confirm that the fix worked fine for us.

Fred.
