# Cesium 1.28 Bug ?

**URL:** <https://community.cesium.com/t/cesium-1-28-bug/4916>\
**Category:** CesiumJS\
**Created:** [December 13, 2016, 11:38pm UTC](https://community.cesium.com/t/cesium-1-28-bug/4916 "2016-12-13T23:38:02Z")\
**Posts on this page:** 10\
**Page:** 1

<div class="post-metadata">

**Author:** ![Svetoslav\_Batsoev](https://avatars.discourse-cdn.com/v4/letter/s/2acd7d/32.png) [@Svetoslav\_Batsoev](https://community.cesium.com/u/Svetoslav_Batsoev)\
**Post date:** [December 13, 2016, 11:38pm UTC](https://community.cesium.com/t/cesium-1-28-bug/4916/1 "2016-12-13T23:38:02Z")

</div>

Steps to reproduce:

1. open a new anonymous / private windows in chrome / firefox
2. Move and Zoom very fast (right mouse button and drag, rather than scroll wheel) to tile with coordinates 0,0  
I’m attaching screenshots with the error, it throws different errors in firefox and chrome, not tested with other browsers.

I’m not sure if it’s a bug with Cesium but it seems like this. Didn’t happen in 1.26.

Other than that let me tell I’m fascinated with the speed improvements in the new version. I discovered this bug playing around and enjoying how fast everything loads.

 ![CeriumErrorChrome.jpg](https://global.discourse-cdn.com/cesium/original/1X/88337692508f9cafe302b2c4a4bedc3e28c36f2a.jpeg)

 ![CeriumErrorFirefox.jpg](https://global.discourse-cdn.com/cesium/original/1X/5e377503d5c070bd6c25c13c4e77cc684867958a.jpeg)

---

<div class="post-metadata">

**Author:** ![hannah](https://sea2.discourse-cdn.com/cesium/user_avatar/community.cesium.com/hannah/32/4509_2.png) [@hannah](https://community.cesium.com/u/hannah)\
**Post date:** [December 14, 2016, 3:18pm UTC](https://community.cesium.com/t/cesium-1-28-bug/4916/2 "2016-12-14T15:18:49Z")

</div>

Hello,

I wasn’t able to reproduce this in master, so it’s possible it will be fixed in the 1.29 release.

What OS are you using?

Could you post the crash message from the unminified version of Cesium? That way I can see which functions are failing.

Thanks,

Hannah

---

<div class="post-metadata">

**Author:** ![Svetoslav\_Batsoev](https://avatars.discourse-cdn.com/v4/letter/s/2acd7d/32.png) [@Svetoslav\_Batsoev](https://community.cesium.com/u/Svetoslav_Batsoev)\
**Post date:** [December 14, 2016, 6:32pm UTC](https://community.cesium.com/t/cesium-1-28-bug/4916/3 "2016-12-14T18:32:48Z")

</div>

I’m running Ubuntu, 16.04, and the server on which I test Cesium also runs Ubuntu 16.04. I tested again with Cesium 1.28 Unminified, on Firefox, and I am attaching a screenshot with the error. I wasn’t able to reproduce it on Chrome with Cesium Unminified though.

 ![firefox.jpg](https://global.discourse-cdn.com/cesium/original/2X/e/e4497d008bfb7bfd85f7961b614081664a679e3a.jpeg)

---

<div class="post-metadata">

**Author:** ![hannah](https://sea2.discourse-cdn.com/cesium/user_avatar/community.cesium.com/hannah/32/4509_2.png) [@hannah](https://community.cesium.com/u/hannah)\
**Post date:** [December 14, 2016, 9:57pm UTC](https://community.cesium.com/t/cesium-1-28-bug/4916/4 "2016-12-14T21:57:09Z")

</div>

Thanks for the information! I filed a bug report here: [https://github.com/AnalyticalGraphicsInc/cesium/issues/4755](https://github.com/AnalyticalGraphicsInc/cesium/issues/4755)  
I wasn’t able to reproduce it, but we’ll see if someone else on the team is able to so we can figure out what’s going on.

Best,

Hannah

---

<div class="post-metadata">

**Author:** ![Svetoslav\_Batsoev](https://avatars.discourse-cdn.com/v4/letter/s/2acd7d/32.png) [@Svetoslav\_Batsoev](https://community.cesium.com/u/Svetoslav_Batsoev)\
**Post date:** [December 18, 2016, 4:47pm UTC](https://community.cesium.com/t/cesium-1-28-bug/4916/5 "2016-12-18T16:47:31Z")

</div>

Hi Hannah,  
It seems that I had some tiles missing around tile 0,0 , at the uppermost layer and I’m now quite convinced this was the reason for the error. It’s interesting that it only happened sometimes and I thought it’s a bug. I’m rechecking all my tiles now. So sorry for the false alarm.

---

<div class="post-metadata">

**Author:** ![hannah](https://sea2.discourse-cdn.com/cesium/user_avatar/community.cesium.com/hannah/32/4509_2.png) [@hannah](https://community.cesium.com/u/hannah)\
**Post date:** [December 19, 2016, 3:02pm UTC](https://community.cesium.com/t/cesium-1-28-bug/4916/6 "2016-12-19T15:02:43Z")

</div>

Hello,

I think the crash you’re seeing was fixed in this pull request: [https://github.com/AnalyticalGraphicsInc/cesium/pull/4763](https://github.com/AnalyticalGraphicsInc/cesium/pull/4763)

It will be included in the 1.29 release available January 2nd.

If you still see the crash after that, let me know. Thanks!

-Hannah

---

<div class="post-metadata">

**Author:** ![Svetoslav\_Batsoev](https://avatars.discourse-cdn.com/v4/letter/s/2acd7d/32.png) [@Svetoslav\_Batsoev](https://community.cesium.com/u/Svetoslav_Batsoev)\
**Post date:** [December 20, 2016, 7:47pm UTC](https://community.cesium.com/t/cesium-1-28-bug/4916/7 "2016-12-20T19:47:50Z")

</div>

So, yesterday (19 Dec 2016) I downloaded the latest changes from master branch, and built Cesium, but I’m still getting the same error even with this build, unfortunately. Meanwhile I had all my missing tiles fixed if that matters. I’ve noticed the error happens around meridian 0, at any of the poles - north or south. You first have to move to position around meridian 0, and then zoom (it may be not that fast as I initially suggested) to any of the poles. I’m attaching my index.html file if any of the developers would like to test. It’s setup with the urls of my server, and I have enabled CORS, so just upload the file on your web server and run it.

 ![firefox2.jpg](https://global.discourse-cdn.com/cesium/original/2X/9/978a6db893f5312318bdeb5a5fdb559c9fb4d597.jpeg)

[index.html](https://community.cesium.com/uploads/short-url/6yC5aVk3e6RMPG1c2H8NaFGY4ng.html) (4.25 KB)

---

<div class="post-metadata">

**Author:** ![Svetoslav\_Batsoev](https://avatars.discourse-cdn.com/v4/letter/s/2acd7d/32.png) [@Svetoslav\_Batsoev](https://community.cesium.com/u/Svetoslav_Batsoev)\
**Post date:** [December 21, 2016, 9:54pm UTC](https://community.cesium.com/t/cesium-1-28-bug/4916/8 "2016-12-21T21:54:15Z")

</div>

Update: I’m able to reproduce it in sandcastle, here’s code to test:

var viewer = new Cesium.Viewer(‘cesiumContainer’, {  
baseLayerPicker : true  
});

var layers = viewer.imageryLayers;  
var coordinateTiles = layers.addImageryProvider(Cesium.createOpenStreetMapImageryProvider({  
url : ‘[http://commercialplanet.eu/cesium/data6/coordinatestiles](http://commercialplanet.eu/cesium/data6/coordinatestiles)’,  
maximumLevel : 11,  
credit : ‘’  
}));

- the same bug happens with different tile layer loaded (so probably not related to broken tiles).  
-it happens when zoomed between tiles with X coordinates 2047, 0 and any of the poles, as well as the opposite side of the globe - between tiles 1023, 1024 and any of the poles (places where one side is loaded and other is still blurry and loading)  
-the bug only happens on the first load. If it doesn’t happen on the first try, the example needs to be restarted and then try again.

---

<div class="post-metadata">

**Author:** ![hannah](https://sea2.discourse-cdn.com/cesium/user_avatar/community.cesium.com/hannah/32/4509_2.png) [@hannah](https://community.cesium.com/u/hannah)\
**Post date:** [December 22, 2016, 3:23pm UTC](https://community.cesium.com/t/cesium-1-28-bug/4916/9 "2016-12-22T15:23:22Z")

</div>

Thanks for providing the example! I was able to reproduce it with that. I’ve submitted a new issue here: [https://github.com/AnalyticalGraphicsInc/cesium/issues/4777](https://github.com/AnalyticalGraphicsInc/cesium/issues/4777)

Best,

Hannah

---

<div class="post-metadata">

**Author:** ![patrick](https://sea2.discourse-cdn.com/cesium/user_avatar/community.cesium.com/patrick/32/2045_2.png) [@patrick](https://community.cesium.com/u/patrick)\
**Post date:** [January 5, 2017, 11:15pm UTC](https://community.cesium.com/t/cesium-1-28-bug/4916/10 "2017-01-05T23:15:06Z")

</div>

For those following this thread, Kevin fixed this in [#4811](https://github.com/AnalyticalGraphicsInc/cesium/pull/4811), which will be in Cesium 1.30 in February.

Patrick
