Cesium1.46 can load 3dtileset after upgrade to 1.47 ,can't load it?

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

This was actually a breaking change in 1.48 to match the 3D Tiles spec:

https://github.com/AnalyticalGraphicsInc/cesium/blob/master/CHANGES.md#breaking-changes-mega-2

So what you have to do is change:

'[http://14.168.111.250/3dtiles/tiananmen](http://14.168.111.250/3dtiles/tiananmen)'

``

to:

'[http://14.168.111.250/3dtiles/tiananmen](http://14.168.111.250/3dtiles/tiananmen)/tileset.json'

``

Let me know if that works!