# Issue with iOS version 17.4.1

**URL:** <https://forum.babylonjs.com/t/issue-with-ios-version-17-4-1/50427>\
**Category:** Questions\
**Created:** [May 9, 2024, 6:58pm UTC](https://forum.babylonjs.com/t/issue-with-ios-version-17-4-1/50427 "2024-05-09T18:58:10Z")\
**Posts on this page:** 16\
**Page:** 1

<div class="post-metadata">

**Author:** ![MarianG](https://sea2.discourse-cdn.com/flex024/user_avatar/forum.babylonjs.com/mariang/32/138_2.png) [@MarianG](https://forum.babylonjs.com/u/MarianG)\
**Post date:** [May 9, 2024, 6:58pm UTC](https://forum.babylonjs.com/t/issue-with-ios-version-17-4-1/50427/1 "2024-05-09T18:58:10Z")

</div>

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:

> **[Babylon.js Playground](https://playground.babylonjs.com/#FX8LBM%237)**
>
> Babylon.js playground is a live editor for Babylon.js WebGL 3D scenes

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

> **[Babylon.js Playground](https://playground.babylonjs.com/#FX8LBM%2311)**
>
> Babylon.js playground is a live editor for Babylon.js WebGL 3D scenes

It happens if we go multiple times between view1 and view2, suddenly we lose the context ☹  
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](https://forum.babylonjs.com/uploads/short-url/mFkAgq7QPCKdwsNrUEGaNqc7D33.zip) (2.6 KB)  
Any ideas are welcome

---

<div class="post-metadata">

**Author:** ![ryantrem](https://sea2.discourse-cdn.com/flex024/user_avatar/forum.babylonjs.com/ryantrem/32/34010_2.png) [@ryantrem](https://forum.babylonjs.com/u/ryantrem)\
**Post date:** [May 10, 2024, 6:39pm UTC](https://forum.babylonjs.com/t/issue-with-ios-version-17-4-1/50427/2 "2024-05-10T18:39:43Z")

</div>

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`

---

<div class="post-metadata">

**Author:** ![Evgeni\_Popov](https://sea2.discourse-cdn.com/flex024/user_avatar/forum.babylonjs.com/evgeni_popov/32/4432_2.png) [@Evgeni\_Popov](https://forum.babylonjs.com/u/Evgeni_Popov)\
**Post date:** [May 10, 2024, 10:26pm UTC](https://forum.babylonjs.com/t/issue-with-ios-version-17-4-1/50427/3 "2024-05-10T22:26:18Z")

</div>

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](https://us1.discourse-cdn.com/flex024/uploads/babylonjs/original/3X/5/e/5e9a227a94793b6deb5e9a448cdaa70304f0a3e5.png)

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

---

<div class="post-metadata">

**Author:** ![MarianG](https://sea2.discourse-cdn.com/flex024/user_avatar/forum.babylonjs.com/mariang/32/138_2.png) [@MarianG](https://forum.babylonjs.com/u/MarianG)\
**Post date:** [May 11, 2024, 6:03pm UTC](https://forum.babylonjs.com/t/issue-with-ios-version-17-4-1/50427/4 "2024-05-11T18:03:04Z")

</div>

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 ☹

---

<div class="post-metadata">

**Author:** ![MarianG](https://sea2.discourse-cdn.com/flex024/user_avatar/forum.babylonjs.com/mariang/32/138_2.png) [@MarianG](https://forum.babylonjs.com/u/MarianG)\
**Post date:** [May 11, 2024, 6:07pm UTC](https://forum.babylonjs.com/t/issue-with-ios-version-17-4-1/50427/5 "2024-05-11T18:07:49Z")

</div>

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

> **[Babylon.js Playground](https://playground.babylonjs.com/#FX8LBM%2323)**
>
> Babylon.js playground is a live editor for Babylon.js WebGL 3D scenes

or even directly [here](https://spaceplan.dev.brightspaces.tech/30916ad8-f075-47d0-a987-ab543860399e)  
Thanks

---

<div class="post-metadata">

**Author:** ![Evgeni\_Popov](https://sea2.discourse-cdn.com/flex024/user_avatar/forum.babylonjs.com/evgeni_popov/32/4432_2.png) [@Evgeni\_Popov](https://forum.babylonjs.com/u/Evgeni_Popov)\
**Post date:** [May 11, 2024, 6:12pm UTC](https://forum.babylonjs.com/t/issue-with-ios-version-17-4-1/50427/6 "2024-05-11T18:12:27Z")

</div>

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

---

<div class="post-metadata">

**Author:** ![ryantrem](https://sea2.discourse-cdn.com/flex024/user_avatar/forum.babylonjs.com/ryantrem/32/34010_2.png) [@ryantrem](https://forum.babylonjs.com/u/ryantrem)\
**Post date:** [May 13, 2024, 4:57pm UTC](https://forum.babylonjs.com/t/issue-with-ios-version-17-4-1/50427/7 "2024-05-13T16:57:06Z")

</div>

Same (again on my iPhone SE) 😕

---

<div class="post-metadata">

**Author:** ![sebavan](https://sea2.discourse-cdn.com/flex024/user_avatar/forum.babylonjs.com/sebavan/32/57_2.png) [@sebavan](https://forum.babylonjs.com/u/sebavan)\
**Post date:** [May 13, 2024, 5:58pm UTC](https://forum.babylonjs.com/t/issue-with-ios-version-17-4-1/50427/8 "2024-05-13T17:58:45Z")

</div>

I am already on 17.5

---

<div class="post-metadata">

**Author:** ![MarianG](https://sea2.discourse-cdn.com/flex024/user_avatar/forum.babylonjs.com/mariang/32/138_2.png) [@MarianG](https://forum.babylonjs.com/u/MarianG)\
**Post date:** [May 13, 2024, 5:58pm UTC](https://forum.babylonjs.com/t/issue-with-ios-version-17-4-1/50427/9 "2024-05-13T17:58:46Z")

</div>

Understood 🥺  
Can you please try on the [server](https://spaceplan.dev.brightspaces.tech/30916ad8-f075-47d0-a987-ab543860399e) as well? There are not too mucb differences, just some cookie & analytics script. Thanks

---

<div class="post-metadata">

**Author:** ![RaananW](https://sea2.discourse-cdn.com/flex024/user_avatar/forum.babylonjs.com/raananw/32/28955_2.png) [@RaananW](https://forum.babylonjs.com/u/RaananW)\
**Post date:** [May 13, 2024, 6:47pm UTC](https://forum.babylonjs.com/t/issue-with-ios-version-17-4-1/50427/10 "2024-05-13T18:47:21Z")

</div>

17.4.1, server and playground working as expected.

---

<div class="post-metadata">

**Author:** ![MarianG](https://sea2.discourse-cdn.com/flex024/user_avatar/forum.babylonjs.com/mariang/32/138_2.png) [@MarianG](https://forum.babylonjs.com/u/MarianG)\
**Post date:** [May 31, 2024, 9:28am UTC](https://forum.babylonjs.com/t/issue-with-ios-version-17-4-1/50427/11 "2024-05-31T09:28:19Z")

</div>

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

> **[Custom 3D Space Planning for Shadow Proclamation](https://spaceplan.dev.brightspaces.tech/88239423-27f5-4bbc-a48c-022132c9936c)**
>
> 1

---

<div class="post-metadata">

**Author:** ![sebavan](https://sea2.discourse-cdn.com/flex024/user_avatar/forum.babylonjs.com/sebavan/32/57_2.png) [@sebavan](https://forum.babylonjs.com/u/sebavan)\
**Post date:** [May 31, 2024, 10:44am UTC](https://forum.babylonjs.com/t/issue-with-ios-version-17-4-1/50427/12 "2024-05-31T10:44:13Z")

</div>

All good for me as well ☹

---

<div class="post-metadata">

**Author:** ![theblackneko](https://sea2.discourse-cdn.com/flex024/user_avatar/forum.babylonjs.com/theblackneko/32/11451_2.png) [@theblackneko](https://forum.babylonjs.com/u/theblackneko)\
**Post date:** [June 4, 2024, 11:08am UTC](https://forum.babylonjs.com/t/issue-with-ios-version-17-4-1/50427/13 "2024-06-04T11:08:24Z")

</div>

[spaceplan.dev.brightspaces.tech](https://spaceplan.dev.brightspaces.tech/88239423-27f5-4bbc-a48c-022132c9936c)

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.

---

<div class="post-metadata">

**Author:** ![sebavan](https://sea2.discourse-cdn.com/flex024/user_avatar/forum.babylonjs.com/sebavan/32/57_2.png) [@sebavan](https://forum.babylonjs.com/u/sebavan)\
**Post date:** [June 4, 2024, 2:16pm UTC](https://forum.babylonjs.com/t/issue-with-ios-version-17-4-1/50427/14 "2024-06-04T14:16:00Z")

</div>

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

---

<div class="post-metadata">

**Author:** ![theblackneko](https://sea2.discourse-cdn.com/flex024/user_avatar/forum.babylonjs.com/theblackneko/32/11451_2.png) [@theblackneko](https://forum.babylonjs.com/u/theblackneko)\
**Post date:** [June 4, 2024, 3:38pm UTC](https://forum.babylonjs.com/t/issue-with-ios-version-17-4-1/50427/15 "2024-06-04T15:38:46Z")

</div>

Sorry it was a typo, I meant 17.5.1 😅

---

<div class="post-metadata">

**Author:** ![sebavan](https://sea2.discourse-cdn.com/flex024/user_avatar/forum.babylonjs.com/sebavan/32/57_2.png) [@sebavan](https://forum.babylonjs.com/u/sebavan)\
**Post date:** [June 4, 2024, 7:21pm UTC](https://forum.babylonjs.com/t/issue-with-ios-version-17-4-1/50427/16 "2024-06-04T19:21:08Z")

</div>

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
