WebGL is crashing in IOS 18.2 and 18.3

Hello,

We’ve been using the CesiumJS WebGL library for several years, both on our website and within embedded WebViews in our iOS application. Since upgrading to iOS versions 18.2 and 18.3, we’ve started receiving numerous user complaints regarding application crashes on various iPad and iPhone models when loading CesiumJS.

The crashes occur as soon as the 3D view initializes, and the error consistently reported is:

"WebGL context lost"

This issue appears to be a WebGL-related crash potentially triggered by GPU memory handling or allocation limits. However, we are not detecting any abnormal memory consumption prior to the crash, and the same setup works perfect on older iOS versions and on all Android devices and versions.

Steps to Reproduce: Open: https://www.flightradar24.com/30.47,-94.84/8

Click on any aircraft icon on the map.

In the aircraft details panel at the bottom, click on the “3D view” tab.

On iOS 18.2 or 18.3, the page will crash shortly after initializing CesiumJS WebGL.

Affected Devices: This issue is occurring across a wide range of devices, including:

iPad 9th Generation

iPad Pro (11-inch, 2nd Gen)

iPhone SE (2020 and 2022)

iPhone 11, 11 Pro

iPhone XR

iPhone Mini

All of the above are running iOS 18.2 or 18.3. The problem does not occur on Android or previous iOS versions.

Request: Has anyone else encountered similar issues with WebGL context loss after upgrading to iOS 18.2 or 18.3? Are there any known changes in memory limits or WebGL behavior in these recent iOS updates? We’d appreciate any insight or suggestions on workarounds or potential fixes.

Thank you!

We are experiencing similar issues on iOS 18.4 on 8th and 9th generation iPad devices using Unity 2022 WebGL projects. This wasn't an issue in iOS 17.x on these same devices and will cause problems for existing customers.

WebGL is crashing in IOS 18.2 and 18.3
 
 
Q