1. A concise explanation of the problem you’re experiencing.
When I upgrade cesium 1.46 to 1.47,load 3dtileset faild.
2. A minimal code example. If you’ve found a bug, this helps us reproduce and repair it.
var viewer = new Cesium.Viewer('cesiumContainer', {
terrainProvider: Cesium.createWorldTerrain()
});
var tileset = new Cesium.Cesium3DTileset({
url: 'http://14.168.111.250/3dtiles/tiananmen'
});
tileset.readyPromise.then(function (tileset)
{
viewer.scene.primitives.add(tileset);
viewer.zoomTo(tileset);
}).otherwise(function (error)
{
console.log(error);
});
Throw exception:SyntaxError: Unexpected token < in JSON at position 0
3. Context. Why do you need to do this? We might know a better way to accomplish your goal.
4. The Cesium version you’re using, your operating system and browser.
Cesium:
Cesium1.46 it worked,
Cesium1.47 it not worked.
Browser:
Chrome