When I used the ctb terrain data in cesium, the spheres didn’t show up, and when I removed the terrain, the spheres showed up normally again. But this problem only appears in the new version of cesium, when I use the latest cesium it does not report any errors, when I use cesium 1.96 it shows the following error:
Cesium.js:85 An error occurred in “Py”: Failed to obtain terrain tile X: 0 Y: 0 Level: 0. Error message: “RangeError: Invalid typed array length: 8894653434”
Cesium.js:85 An error occurred in “Py”: Failed to obtain terrain tile X: 1 Y: 0 Level: 0. Error message: “RangeError: Invalid typed array length: 2017542741”
I looked for a lot of answers on the Internet, such as my terrain data missing layer.json file, such as not adding content-type:gzip response header, etc., I did, but it didn’t work.
Finally, when I used an older version of cesium 1.46, the terrain data was displayed. Why?