WebGL issue constructing CesiumWidget - iOS 18.6

Loading sandcastle.cesium.com or using CesiumJS in custom app, despite correctly loading on any PC browser, it fails on iOS / iPad.

Usage of tablets compromised.

The error is:

TypeError: null is not an object (evaluating 'aliasedLineWidthRange[0]')
Context@https://sandcastle.cesium.com/Build/CesiumUnminified/index.js:38621:73
Scene4@https://sandcastle.cesium.com/Build/CesiumUnminified/index.js:240661:40
CesiumWidget@https://sandcastle.cesium.com/Build/CesiumUnminified/index.js:246182:36
Viewer@https://sandcastle.cesium.com/Build/CesiumUnminified/index.js:259008:48
module code@https://sandcastle.cesium.com/templates/bucket.html:4:33

Visiting site https://webglreport.com both WebGL1 and WebGL2 seems fully supported.

Note: it was working well 2 months ago.

Hi @DigitalFBX,

So just to be clear - you’re saying that you cannot load a basic sandcastle.cesium.com on an iPad - at all? In any browser? Can you give some more information about the iPad - what model is it and what OS version is it running?

And you can load sandcastle on a PC and Mac? Again, which browsers did you try?

Thanks,
Matt

Can you also try opening the old version of sandcastle on your iPad: Cesium Sandcastle? It’s the newest release of Cesium but the old UI for sandcastle. I’m curious if that’s part of the issue.

In the meantime, the issue has been solved.
Not sure if this is Cesium or iPadOS upgrade.

Same iPAD, but iPadOS 26.2 now is OK

Thanks for your answer.

1 Like

Glad to hear it - if the solution you found might benefit other users who find this issue in the future, please describe what steps you took!

Best,
Matt

1 Like