CesiumGS / cesium

An open-source JavaScript library for world-class 3D globes and maps :earth_americas:
https://cesium.com/cesiumjs/
Apache License 2.0
12.73k stars 3.45k forks source link

When I add a 3dTiles, it throw an error in 1.82.1 #9590

Closed Calerme closed 3 years ago

Calerme commented 3 years ago

The same code works in 1.81, but when I change the version to 1.82.1, the bug is exists.

Sandcastle example:

const viewer = new Cesium.Viewer("cesiumContainer");
const tilesetModel = new Cesium.Cesium3DTileset({
    url: "./data/tileset.json"
});
viewer.scene.primitives.add(tilesetModel);
viewer.zoomTo(tilesetModel);

Browser: Chrome

Operating System: windows

image

lilleyse commented 3 years ago

@Calerme there have been some internal changes between 1.81 and 1.82.1 may have introduced a regression. In order for us to confirm could you send over your tileset? If you're not able to share it publicly you can email it to support@cesium.com and we'll take a look.

tange387 commented 3 years ago

I have the same problem, but it works normally in version 1.7* and reports an error in version 1.81

lilleyse commented 3 years ago

@tange387 would you be able to share your tileset as well?

z3214965 commented 3 years ago

I have the same problem

lilleyse commented 3 years ago

Hi @z3214965 @tange387 @Calerme or anyone else who comes across this issue - if you're able to share your tileset with us please do, it'll help us fix this bug faster.

If you can't share it on github you can email it to us at support@cesium.com.

lilleyse commented 3 years ago

We found a tileset that had the problem and opened a PR that fixes the crash: https://github.com/CesiumGS/cesium/pull/9618. The fix should go out with the July 1st release.