IOS crashes while running a live stream after updating from 6.33.1 to 7.11.2

Unfortunately, I have no idea myself, as a number of important architectural changes have taken place since 6.33.1…

Does WebGPU work on iOS? If so, you could run a test with WebGPU and see if it crashes too. That way, we’d know whether it’s specific to the WebGL engine or related to the engines’ common JS code.

[…] I’ve enabled WebGPU on my iPhone SE in Safari’s advanced settings, and I can at least see the default playground scene in WebGPU!

We are testing with an iPhone 11 pro, so it might be the older device.

I can run a test with turning webGPU on, I will report back.

Thanks!

1 Like

I can not seem to be able to repro either on my iphone 13

There’s something strange happening on iOS (again and again).

We also have problems with the “WebGL context lost” message. But - this happens if we reload the page several times - at some point WebGL crashes all the time and the solution is to close Safari and clear all caches for that day. Then the project runs again until you reload the page.
I can’t reproduce the issue in the iOS Simulator tho.

Just in case you are wondering - it’s a project where we display a sports stadium with about 70k instanced meshes for the seats :sweat_smile:

Haha yeah, this is a thing. Thank apple. We have had to deal with this for years. KTX helps a ton.

you mean using ktx compressed textures makes it more stable on ios?

Yeah, iOS has a magic memory limit that when you cross it crashes. Ktx does not need to decompress to be read, so the memory footprint is way lower. It helps a lot. The problem I was describing in this thread is a little different, for me the issue gets worse when simply upgrading Babylon to Babylon 7, specifically while hls live streaming on iOS devices

1 Like

Awesome information! I just try gltf-transform to optimize the files, looks good so far

1 Like