Hi,
On startup my app loads a KML file with layers of placemarks and polylines, as well as some geojson vectors. With v1.26 the app now crashes with renderer errors due to undefined variables connected to these layers… I have been able to get around the renderer crashes by adding the following tests for undefined in cesium.js (unminified).
function updateBatchTableBoundingSpheres(primitive, frameState), after line 93494 add:
if (!defined(boundingSphere))
continue;
DataSourceDisplay.prototype.update = function(time), after line 123080 add:
if (!defined(visualizers))
continue;
With these changes to v1.26 Cesium starts and runs fine again (although with some minor display updating issues). v1.25 and previous versions work fine. I cannot find any breaking changes other than a somewhat obscure reference to “Vertex texture fetch is now required” and possibly to the addition of clustering. Any immediate suggestion?
I'm seeing the same thing loading certain geojson files. It seems like only some polygons cause the issue. If I narrow it down further, I'll post again with more info.