CesiumGS / cesium

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

"RangeError: Invalid array length" when rotating camera down from sky-facing startup #3961

Closed likangning93 closed 7 years ago

likangning93 commented 8 years ago
likangning93 commented 8 years ago

You might have to pan all the way up before reloading and then navigate a little bit after panning down to reproduce this.

pjcozzi commented 8 years ago

Link: https://cesiumjs.org/NewYork

pjcozzi commented 7 years ago

Could be duplicate with #2317.

mramato commented 7 years ago

@likangning93 can you still reproduce this? I fixed a camera issue in #5440 that led to NaNs which may have accidentally fixed this.

likangning93 commented 7 years ago

It's been a while, so I'm not sure if I followed my own instructions exactly, but it seems like I can't reproduce this anymore.

programmer101010 commented 6 years ago

This is still an issue in Cesium 1.42. It requires rapidly moving the camera up and down for a view near the ground as well as a view pointing toward the horizon. This is using Chrome 67 on Windows. In some cases, the window becomes unresponsive without an error message. This is difficult to reproduce but is still present.