Persistent issue with webGL on iPhones

I have a site which does some visualization on 3D data. However, even when I init the viewer, I get the following error:

TypeError: null is not an object (evaluating 'u[0]')
dd@https://cesium.com/downloads/cesiumjs/releases/1.125/Build/Cesium/Cesium.js:3920:46808
li@https://cesium.com/downloads/cesiumjs/releases/1.125/Build/Cesium/Cesium.js:15065:1049
Go@https://cesium.com/downloads/cesiumjs/releases/1.125/Build/Cesium/Cesium.js:15442:8426
ji@https://cesium.com/downloads/cesiumjs/releases/1.125/Build/Cesium/Cesium.js:16067:59320

This happens on pretty much all iPhones my visitors tested with. webGL test site runs ok. I’ve opened some of the demo pages on the cesium site and sandbox and it happens with each one. I reverted to v1.119 and I get the same issue.

If the issue only appeared in the use case that you described in the other thread, then one could think that this is just a matter of ~“trying to display too much data” (in one way or another).

But when you say

I’ve opened some of the demo pages on the cesium site and sandbox and it happens with each one.

then this sounds like something pretty fundamental, and may have to be investigated dedicatedly.

I made some progress here. After some experimentation, I found that this happens in slower iPhone models and occurs when we request with the default cesium powerPreference setting of “high-performance”. When I change it to “default”, I get the proper context and this goes away. Strange is that with “high-performance” we do get WebGL2RenderingContext, but without ALIASED_LINE_WIDTH_RANGE data.

Once I switched to default or low powerPreference, I get those values. However no rendering occurs. I tested with no data - just 3d tiles and nothing.