You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The user says it seems to have been introduced in 1.20
Run this code and zoom in and out. The crash usually happens within a few toggles. There are also might be a z-ordering issues with the imagery layers after show has been toggled. It looks like the argcis tiles will randomly show above the black marble ones.
varviewer=newCesium.Viewer('cesiumContainer',{imageryProvider : newCesium.ArcGisMapServerImageryProvider({url : 'https://server.arcgisonline.com/ArcGIS/rest/services/World_Street_Map/MapServer'}),baseLayerPicker : false});varlayers=viewer.imageryLayers;varblackMarble=layers.addImageryProvider(Cesium.createTileMapServiceImageryProvider({url : 'https://cesiumjs.org/blackmarble',credit : 'Black Marble imagery courtesy NASA Earth Observatory',flipXY : true// Only old gdal2tile.py generated tilesets need this flag.}));setInterval(function(){blackMarble.show=!blackMarble.show;},2000);
The text was updated successfully, but these errors were encountered:
It crashes from calling destroy on imagery.texture
DeveloperError: This object was destroyed, i.e., destroy() was called.
Error
at new DeveloperError (http://localhost:8080/Source/Core/DeveloperError.js:44:19)
at Texture.throwOnDestroyed (http://localhost:8080/Source/Core/destroyObject.js:45:19)
at ComputeCommand.postExecute (http://localhost:8080/Source/Scene/ImageryLayer.js:773:33)
at ComputeEngine.execute (http://localhost:8080/Source/Renderer/ComputeEngine.js:145:28)
at ComputeCommand.execute (http://localhost:8080/Source/Renderer/ComputeCommand.js:116:23)
at executeComputeCommands (http://localhost:8080/Source/Scene/Scene.js:1808:28)
at executeCommandsInViewport (http://localhost:8080/Source/Scene/Scene.js:2102:13)
at updateAndExecuteCommands (http://localhost:8080/Source/Scene/Scene.js:1965:17)
at render (http://localhost:8080/Source/Scene/Scene.js:2370:9)
at Scene.render (http://localhost:8080/Source/Scene/Scene.js:2408:13)
Yep, faced the same problem. To be precise, problem appears at enabling a layer in case previously it was enabled and then disabled immediately, before complete render of tiles, like at the moment on screenshot. For me it's like half a sec, and for TS from gg even 2 seconds were enough to get an error.
Reported on the forum: https://groups.google.com/forum/?hl=en#!topic/cesium-dev/11JV-fgCW2s
The user says it seems to have been introduced in 1.20
Run this code and zoom in and out. The crash usually happens within a few toggles. There are also might be a z-ordering issues with the imagery layers after show has been toggled. It looks like the argcis tiles will randomly show above the black marble ones.
The text was updated successfully, but these errors were encountered: