3D Tile Failed to Load Error

The problem:

I’m trying to load a big b3dm model in a tileset.json, and am getting an error in the console:

A 3D tile failed to load: http://localhost:8080/cesium-npm/Source/SampleData/Models/cadizTest.b3dm?v=0.0

Cesium.js:531 Error: Failed to load image: id: 0, bufferView: 4

The code:

tileset.json

{

“asset”: {

“version”: “1.0”

},

“geometricError”: 500,

“root”: {

“boundingVolume”: {

“region”: [

-1.538164,

0.68661,

-1.290164,

0.826661,

0,

200

]

},

“geometricError”: 100,

“refine”: “REPLACE”,

“content”: {

“url”: “./cadizTest.b3dm”

}

}

}

``

javascript

var tileset = viewer.scene.primitives.add(new Cesium.Cesium3DTileset({

url : ‘./Source/SampleData/Models/tileset.json’

}));

tileset.readyPromise.then(function(tileset) {

tileset.modelMatrix = Cesium.Transforms.headingPitchRollToFixedFrame(Cesium.Cartesian3.fromDegrees(-81.025642, 40.258251, 300), new Cesium.HeadingPitchRoll());

//viewer.camera.viewBoundingSphere(tileset.boundingSphere, new Cesium.HeadingPitchRange(0, -90, 0));

//viewer.camera.lookAtTransform(Cesium.Matrix4.IDENTITY);

});

``

Context:

The b3dm file is HUGE, ~1GB

Specs:

Cesium Version 1.43

OSX High Sierra 10.13.1

Chrome 66

Hi Andrew,

If you’re getting a b3dm that’s 1GB I think there may be an issue with your tiling. You should be getting more tiles with smaller file sizes.

Thanks,

Gabby

Hi @Gabby_Getz,

As you said if b3dm file is 1gb or near by 1gb, there may be an issue with tiling. Can you please help me , How resolve this issue?. I have 100 buildings tileset(946mb) and facing same issue(3dtile failed to load).