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

Viewer Crashes on Scene.pick when globe.clippingPolygon is enabled #12045

Open
saadatali48 opened this issue Jun 24, 2024 · 1 comment
Open

Comments

@saadatali48
Copy link

saadatali48 commented Jun 24, 2024

What happened?

I have an entity which has mouse over event enabled, and I am picking the entity using scene.pick as shown below.
const pickedObject = viewer.scene.pick(movement.endPosition);
This is throwing an error
[Cesium WebGL] Fragment shader compile log: ERROR: 0:424: 'clipPolygons' : no matching overloaded function found

This is happening only when I have enabled globe.clippingPolygons.

Reproduction steps

1.https://youtu.be/RljMIWEXMvk
2.
3.
...

Sandcastle example

No response

Environment

Browser: Chrome
CesiumJS Version: 1.118
Operating System: Windows 11

@ggetz
Copy link
Contributor

ggetz commented Jul 1, 2024

Got it, we'll take a look.

In the future, please include a Sandcastle example that replicates the issue. That would help us give us more context to determine the issue. Thanks!

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