Issue with iOS version 17.4.1

Hey, I have a scene which works great in any environment except iOS 17.4.1, even with iOS 17.3 it seems to work.
I was able to reproduce it in this playground on my iPad:

I tried to disable WebGL2 and UBO but the same result, it takes a little bit more to crash but it is still crashing,

It happens if we go multiple times between view1 and view2, suddenly we lose the context :frowning:
I have a log file as well, if it helps, it is quite long because of this I saved it in a file.
log.zip (2.6 KB)
Any ideas are welcome

Thanks for providing the Playgrounds! I tried the first one on my iPhone SE (17.4.1) and could not repro the issue. What model is your iPad? Guessing it has less graphics memory than my device.

@Evgeni_Popov, @sebavan, any thoughts? The first error in the attached log is:
ERRORBJS - [20:09:18]: Error: Something went wrong while creating a gl vertex shader object. gl error=37442, gl isContextLost=true, _contextWasLost=false

1 Like

I just tested on my iPhone SE, iOS 17.4.1 (your first PG), and could not make it crash even after 40+ switch between view1/view2…

Note that I have this error on my desktop:

image

Perhaps it has something to do with the problem you’re experiencing…

1 Like

Hi, yes, it is an old model, Ipad air 4.
If I use the model with png/ jpg textures then yes I got an error about memory limit, but with ktx I think it is a different error, or atleast it is saying nothing about memory :frowning_face:

Sorry, it is because some texture dimensions are not divisible by 4.
Can you try this

or even directly here
Thanks

Yes, this PG does not generate the error in the console log, and it still works for me…

1 Like

Same (again on my iPhone SE) :confused:

1 Like

I am already on 17.5

Understood :pleading_face:
Can you please try on the server as well? There are not too mucb differences, just some cookie & analytics script. Thanks

17.4.1, server and playground working as expected.

Hey, I have another example that crashes. Can you please check this too?

All good for me as well :frowning:

1 Like

spaceplan.dev.brightspaces.tech

I managed to make it crash, IOS 15.5.1, Iphone 14 Pro. If it doesn’t crash on first interaction, you must tap on the little guy icon on the left sidebar, and you get an error screen.
What’s weird is that after the first crash, you reload using the button and when taping again the little guy for the first person view, it may or may not crash. I don’t see what is the cause of this glitch as it appears i’d say random.

IOS 15 had terrible webgl support so it is probably related.

Sorry it was a typo, I meant 17.5.1 :sweat_smile:

I am pretty sure this scene is too heavy for IOS, I can see more than 700Mb of Gpu Memory alone and Safari is highly limiting VRAM usage