CesiumGS / cesium-unity

Bringing the 3D geospatial ecosystem to Unity
https://cesium.com/platform/cesium-for-unity/
Apache License 2.0
358 stars 83 forks source link

OpenGLES3 Error when rendering Cesium Tiles on Quest Devic #431

Open csciguy8 opened 8 months ago

csciguy8 commented 8 months ago

Reported from the community here,

We started getting this error when we switched to OpenGLES3 from Vulcan. Google seems to point to single pass/double pass issues with the shader.

AndroidPlayer "Oculus_Quest Pro@ADB:230YC01DB200SQ:0" Assertion failed: OPENGL NATIVE PLUG-IN ERROR: GL_INVALID_OPERATION: Operation illegal in current state

You can easily reproduce this in the sample cesium projects if you run them on Quest. The errors only appear when a cesium tile is rendering on Android.

We believe the shader is Cesium_RoundPolygonMask

If we put that in the scene on something unrelated to cesium tiles it doesn’t throw the error. So we assume its a specific pass being used within that shader.

electrum-bowie commented 2 months ago

same