Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Polyline on Terrain in IE causes renderer to crash #7775

Closed
carsnwd opened this issue Apr 24, 2019 · 4 comments
Closed

Polyline on Terrain in IE causes renderer to crash #7775

carsnwd opened this issue Apr 24, 2019 · 4 comments

Comments

@carsnwd
Copy link

carsnwd commented Apr 24, 2019

Sandcastle example

The sandcastle from the Polyline on Terrain blog post here: https://cesium.com/blog/2018/07/23/polylines-on-terrain/

Browser: IE11

Operating System: Windows

It appears that it does not work on IE causing the renderer to crash.

An error occurred while rendering. Rendering has stopped.
TypeError: Unable to get property '_target' of undefined or null reference
TypeError: Unable to get property '_target' of undefined or null reference
   at UniformSampler.prototype.set (https://cesiumjs.org/Cesium/Build/CesiumUnminified/Cesium.js:94053:9)
   at ShaderProgram.prototype._setUniforms (https://cesiumjs.org/Cesium/Build/CesiumUnminified/Cesium.js:95370:13)
   at continueDraw (https://cesiumjs.org/Cesium/Build/CesiumUnminified/Cesium.js:171970:9)
   at Context.prototype.draw (https://cesiumjs.org/Cesium/Build/CesiumUnminified/Cesium.js:172007:9)
   at DrawCommand.prototype.execute (https://cesiumjs.org/Cesium/Build/CesiumUnminified/Cesium.js:91119:9)
   at executeCommand (https://cesiumjs.org/Cesium/Build/CesiumUnminified/Cesium.js:239186:13)
   at executeCommands (https://cesiumjs.org/Cesium/Build/CesiumUnminified/Cesium.js:239427:17)
   at executeCommandsInViewport (https://cesiumjs.org/Cesium/Build/CesiumUnminified/Cesium.js:239963:9)
   at updateAndExecuteCommands (https://cesiumjs.org/Cesium/Build/CesiumUnminified/Cesium.js:239756:13)
   at render (https://cesiumjs.org/Cesium/Build/CesiumUnminified/Cesium.js:240396:9)

If there is anything to quick fix it, to at least get it running on IE that be great help to me 👍 . I'm looking into this for some of our code now and can update if I figure out anything in particular that causes it so IE at least doesn't crash the renderer.

Thanks!

@carsnwd
Copy link
Author

carsnwd commented Apr 24, 2019

#7103

I believe it is related to this issue or the same issue?

@carsnwd
Copy link
Author

carsnwd commented Apr 24, 2019

Ah I believe it is just with the primitives API is the issue.

@carsnwd
Copy link
Author

carsnwd commented Apr 24, 2019

I see, I believe the issue is that due to limitations of WebGL on IE the polylines on terrain can't be supported?

@hpinkos
Copy link
Contributor

hpinkos commented Apr 24, 2019

@carsnwd, yes, IE does not support polylines on terrain. You can check Cesium.GroundPolylinePrimitive.isSupported to determine if polylines on terrain are supported for the browser in which your app is running.

In the future, please ask questions like this on the forum:https://groups.google.com/forum/?hl=en#!forum/cesium-dev
We use GitHub exclusively for tracking bugs and planning new features. Thanks!

@hpinkos hpinkos closed this as completed Apr 24, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants