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

Error when HDR is turned off, log depth is disabled, and shadows are enabled #8372

Open
lilleyse opened this issue Nov 6, 2019 · 2 comments

Comments

@lilleyse
Copy link
Contributor

lilleyse commented Nov 6, 2019

In this sandcastle uncheck HDR and you get an error

TypeError: Cannot read property 'execute' of undefined
    at executeCommand (https://sandcastle.cesium.com/CesiumUnminified/Cesium.js:239389:64)
    at executeCommands (https://sandcastle.cesium.com/CesiumUnminified/Cesium.js:239756:21)
    at executeCommandsInViewport (https://sandcastle.cesium.com/CesiumUnminified/Cesium.js:240177:13)
    at Scene.updateAndExecuteCommands (https://sandcastle.cesium.com/CesiumUnminified/Cesium.js:239970:17)
    at render (https://sandcastle.cesium.com/CesiumUnminified/Cesium.js:240633:19)
    at tryAndCatchError (https://sandcastle.cesium.com/CesiumUnminified/Cesium.js:240652:17)
    at Scene.render (https://sandcastle.cesium.com/CesiumUnminified/Cesium.js:240727:17)
    at CesiumWidget.render (https://sandcastle.cesium.com/CesiumUnminified/Cesium.js:253442:29)
    at render (https://sandcastle.cesium.com/CesiumUnminified/Cesium.js:252779:36)

The error does not happen if HDR is disabled initially, or even when HDR is disabled initially, then enabled, then disabled. The error is related to derived commands and has existed as far back as HDR was introduced in 1.52.

@lilleyse
Copy link
Contributor Author

Came up again in #9031

@jjhembd
Copy link
Contributor

jjhembd commented Dec 3, 2024

Here is an updated Sandcastle that works in 1.124. The bug is still there.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants