Cesium cant read my glb flie

1. A concise explanation of the problem you’re experiencing.

Cant get Cesium to read my glb file eventhouge I can get it to load in https://www.virtualgis.io/gltfviewer/

2. A minimal code example. If you’ve found a bug, this helps us reproduce and repair it.

The cesium 3d model sand castle example. using this file

I get the error :

“Failed to load model: http://localhost:8080/assets/f15raam.glb

4. The Cesium version you’re using, your operating system and browser.

latest

What version of Cesium are you on? I’m trying it on master and it works (screenshot attached).

However, when a model is so big, like 2MB, 20MB, it cannot load very well.

a small model here, 512KB:

a big model here, 20MB:

when I load them using the code in this link Cesium Sandcastle

it appears that the small model can successfully appear on Cesium, and the network condition tells it is 200 meaning success, while the big mode cannot be loaded successfully, having the number 304 error.

The problem is probably not the size of the model (and not the 304 - that’s just ‘Not Modified’). The problem may be that this model contains 76639 errors. (I don’t exactly know what the errors are, because no site can display the full validation report, and I haven’t found a viewer that can display the model itself…)