# Unable To Load GLB Models On iOS Safari 16.2

**URL:** <https://forum.babylonjs.com/t/unable-to-load-glb-models-on-ios-safari-16-2/37099>\
**Category:** Bugs\
**Created:** [January 4, 2023, 7:16pm UTC](https://forum.babylonjs.com/t/unable-to-load-glb-models-on-ios-safari-16-2/37099 "2023-01-04T19:16:33Z")\
**Posts on this page:** 20\
**Page:** 1

<div class="post-metadata">

**Author:** ![notmike101](https://sea2.discourse-cdn.com/flex024/user_avatar/forum.babylonjs.com/notmike101/32/22905_2.png) [@notmike101](https://forum.babylonjs.com/u/notmike101)\
**Post date:** [January 4, 2023, 7:16pm UTC](https://forum.babylonjs.com/t/unable-to-load-glb-models-on-ios-safari-16-2/37099/1 "2023-01-04T19:16:33Z")

</div>

Experiencing a strange and inconsistent issue with Safari on various iOS devices. Specifically, this started with iOS 16.2 and worked prior to updating. Oddly enough, this issue is NOT present in Chrome on iOS, and we’ve isolated it specifically to Safari.

iPhone XR - 15.6.1 - No issue  
iPad Pro 3rd gen - 15.6.1 - No issue  
iPad Pro 3rd gen - 16.2 - Blank canvas w/ lag  
iPhone 13 Pro Max - 16.2 - Blank canvas w/ lag  
iPad Pro 5th gen - 16.2 - Blank canvas w/ lag

On these various devices that are having issues, I’m getting a blank white canvas that can’t be interacted with and intense browser lag with no other apps running in the background. Occasionally, getting a report of 0 fps in the playground.

Model seems to load as expected on any other device and browser, just affects iOS 16.2. I’m not able to get any logs at this time due to device limitations.

If anyone has any ideas about what’s going on, please help.

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

---

<div class="post-metadata">

**Author:** ![11128](https://avatars.discourse-cdn.com/v4/letter/1/d07c76/32.png) [@11128](https://forum.babylonjs.com/u/11128)\
**Post date:** [January 5, 2023, 9:03am UTC](https://forum.babylonjs.com/t/unable-to-load-glb-models-on-ios-safari-16-2/37099/2 "2023-01-05T09:03:48Z")

</div>

my pc is the same.  
Is your glb file corrupted?

---

<div class="post-metadata">

**Author:** ![Cedric](https://sea2.discourse-cdn.com/flex024/user_avatar/forum.babylonjs.com/cedric/32/2742_2.png) [@Cedric](https://forum.babylonjs.com/u/Cedric)\
**Post date:** [January 5, 2023, 10:18am UTC](https://forum.babylonjs.com/t/unable-to-load-glb-models-on-ios-safari-16-2/37099/3 "2023-01-05T10:18:28Z")

</div>

Works fine on my PC and with iOS 15.5 on my iphone 11. I’m downloading ios 16.2 now…

---

<div class="post-metadata">

**Author:** ![notmike101](https://sea2.discourse-cdn.com/flex024/user_avatar/forum.babylonjs.com/notmike101/32/22905_2.png) [@notmike101](https://forum.babylonjs.com/u/notmike101)\
**Post date:** [January 5, 2023, 1:24pm UTC](https://forum.babylonjs.com/t/unable-to-load-glb-models-on-ios-safari-16-2/37099/4 "2023-01-05T13:24:32Z")

</div>

@Cedric Any updates on if it’s still working after the iOS update?

---

<div class="post-metadata">

**Author:** ![Cedric](https://sea2.discourse-cdn.com/flex024/user_avatar/forum.babylonjs.com/cedric/32/2742_2.png) [@Cedric](https://forum.babylonjs.com/u/Cedric)\
**Post date:** [January 5, 2023, 1:29pm UTC](https://forum.babylonjs.com/t/unable-to-load-glb-models-on-ios-safari-16-2/37099/5 "2023-01-05T13:29:29Z")

</div>

Yes, it works for me after 16.2 update.

---

<div class="post-metadata">

**Author:** ![notmike101](https://sea2.discourse-cdn.com/flex024/user_avatar/forum.babylonjs.com/notmike101/32/22905_2.png) [@notmike101](https://forum.babylonjs.com/u/notmike101)\
**Post date:** [January 5, 2023, 2:00pm UTC](https://forum.babylonjs.com/t/unable-to-load-glb-models-on-ios-safari-16-2/37099/6 "2023-01-05T14:00:51Z")

</div>

@Cedric Well that makes this even more strange…

I wonder if it’s device specific…

---

<div class="post-metadata">

**Author:** ![notmike101](https://sea2.discourse-cdn.com/flex024/user_avatar/forum.babylonjs.com/notmike101/32/22905_2.png) [@notmike101](https://forum.babylonjs.com/u/notmike101)\
**Post date:** [January 5, 2023, 9:31pm UTC](https://forum.babylonjs.com/t/unable-to-load-glb-models-on-ios-safari-16-2/37099/7 "2023-01-05T21:31:12Z")

</div>

So, here’s more tests with more devices on different iOS versions.  
It’s getting really weird and I’m a loss on how to move forward on this since I can’t properly debug myself.

iPhone XR - 15.6.1 - Works without issue  
iPhone 11 - 15.5 - Works without issue  
iPhone 11 - 16.2 - Works without issue  
iPad Pro 3rd gen - 15.6.1 - Does not load model  
iPhone 13 Pro Max - 16.2 - Does not load model  
iPad Pro 5th gen - 16.2 - Does not load model

---

<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:** [January 5, 2023, 10:40pm UTC](https://forum.babylonjs.com/t/unable-to-load-glb-models-on-ios-safari-16-2/37099/8 "2023-01-05T22:40:23Z")

</div>

Are you able to force and test in WebGL1?

It could be a workaround if it works in WebGL1 on all devices.

---

<div class="post-metadata">

**Author:** ![notmike101](https://sea2.discourse-cdn.com/flex024/user_avatar/forum.babylonjs.com/notmike101/32/22905_2.png) [@notmike101](https://forum.babylonjs.com/u/notmike101)\
**Post date:** [January 6, 2023, 1:35am UTC](https://forum.babylonjs.com/t/unable-to-load-glb-models-on-ios-safari-16-2/37099/9 "2023-01-06T01:35:49Z")

</div>

Quick update: It seems that most of this issue is based around Safari 16.2. Chrome seems to load fine.

Tested by loading on an iPhone and iPad on 15.\*, worked fine. Then updated to 16.2, which then broke.

To be more descriptive about the issue, the canvas seems to load just white.

---

<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:** [January 6, 2023, 3:25pm UTC](https://forum.babylonjs.com/t/unable-to-load-glb-models-on-ios-safari-16-2/37099/10 "2023-01-06T15:25:26Z")

</div>

Can you try disabling webgl via metal in your safari exp features options ?

If that works please file a bug on Safari ☹

---

<div class="post-metadata">

**Author:** ![notmike101](https://sea2.discourse-cdn.com/flex024/user_avatar/forum.babylonjs.com/notmike101/32/22905_2.png) [@notmike101](https://forum.babylonjs.com/u/notmike101)\
**Post date:** [January 6, 2023, 3:48pm UTC](https://forum.babylonjs.com/t/unable-to-load-glb-models-on-ios-safari-16-2/37099/11 "2023-01-06T15:48:37Z")

</div>

Good callout, that resolved the issue! Will look into filing a Safari bug.

Thank you @sebavan .

For the time being until Apple (eventually) fixes this, do you know of any other solution that we can implement to avoid this?

---

<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:** [January 6, 2023, 3:57pm UTC](https://forum.babylonjs.com/t/unable-to-load-glb-models-on-ios-safari-16-2/37099/12 "2023-01-06T15:57:05Z")

</div>

not really as I have no idea what is broken in the Safari code unfortunately but forcing webgl1 as mentioned by @Evgeni_Popov might work ?

---

<div class="post-metadata">

**Author:** ![notmike101](https://sea2.discourse-cdn.com/flex024/user_avatar/forum.babylonjs.com/notmike101/32/22905_2.png) [@notmike101](https://forum.babylonjs.com/u/notmike101)\
**Post date:** [January 6, 2023, 4:04pm UTC](https://forum.babylonjs.com/t/unable-to-load-glb-models-on-ios-safari-16-2/37099/13 "2023-01-06T16:04:28Z")

</div>

Unfortunately, forcing WebGL1 does not work unless I keep “WebGL Via Metal” off.

Tested using disableWebGL2Support in code and explicitly disabling WebGL2 in Safari experimental settings.

Super unfortunate.

---

<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:** [January 6, 2023, 4:23pm UTC](https://forum.babylonjs.com/t/unable-to-load-glb-models-on-ios-safari-16-2/37099/14 "2023-01-06T16:23:25Z")

</div>

yup hoping they ll fix it soon ish ☹

---

<div class="post-metadata">

**Author:** ![Nowayz](https://sea2.discourse-cdn.com/flex024/user_avatar/forum.babylonjs.com/nowayz/32/26674_2.png) [@Nowayz](https://forum.babylonjs.com/u/Nowayz)\
**Post date:** [January 6, 2023, 7:45pm UTC](https://forum.babylonjs.com/t/unable-to-load-glb-models-on-ios-safari-16-2/37099/15 "2023-01-06T19:45:08Z")

</div>

Why are other visually similar renderers such as SketchFab and Three.js seemingly unaffected by this?  
It seems like Babylon has been the only renderer affected by a number of Apple’s updates. I’m not implying that this is Babylon’s fault, but why is it uniquely affected while others with similar material features remain unaffected?

---

<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:** [January 6, 2023, 8:36pm UTC](https://forum.babylonjs.com/t/unable-to-load-glb-models-on-ios-safari-16-2/37099/16 "2023-01-06T20:36:21Z")

</div>

We might be the only one relying on the exact broken feature ☹ which would be great to determine.

---

<div class="post-metadata">

**Author:** ![notmike101](https://sea2.discourse-cdn.com/flex024/user_avatar/forum.babylonjs.com/notmike101/32/22905_2.png) [@notmike101](https://forum.babylonjs.com/u/notmike101)\
**Post date:** [January 9, 2023, 5:30pm UTC](https://forum.babylonjs.com/t/unable-to-load-glb-models-on-ios-safari-16-2/37099/17 "2023-01-09T17:30:57Z")

</div>

Issue seems to have been resolved over the weekend somehow. No major iOS updates done, no BabylonJS updates done.

Confirmed working on all devices previously tested w/ WebGL via Metal enabled.

How weird…

---

<div class="post-metadata">

**Author:** ![Nowayz](https://sea2.discourse-cdn.com/flex024/user_avatar/forum.babylonjs.com/nowayz/32/26674_2.png) [@Nowayz](https://forum.babylonjs.com/u/Nowayz)\
**Post date:** [January 9, 2023, 6:47pm UTC](https://forum.babylonjs.com/t/unable-to-load-glb-models-on-ios-safari-16-2/37099/18 "2023-01-09T18:47:13Z")

</div>

Confirmed this is no longer happening. Also confirmed it was happening at the time of posting. Stealth app update maybe?

I tested on 2020 iPad (right before M1 release) v15.6 was working and when I updated my OS to 16.2 it was broken immediately after updating.

Now it’s working suddenly.

---

<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:** [January 9, 2023, 8:38pm UTC](https://forum.babylonjs.com/t/unable-to-load-glb-models-on-ios-safari-16-2/37099/19 "2023-01-09T20:38:19Z")

</div>

maybe it was a security issue of some sort and they auto update ??? I wonder if it is even possible LOL

---

<div class="post-metadata">

**Author:** ![notmike101](https://sea2.discourse-cdn.com/flex024/user_avatar/forum.babylonjs.com/notmike101/32/22905_2.png) [@notmike101](https://forum.babylonjs.com/u/notmike101)\
**Post date:** [January 9, 2023, 9:47pm UTC](https://forum.babylonjs.com/t/unable-to-load-glb-models-on-ios-safari-16-2/37099/20 "2023-01-09T21:47:02Z")

</div>

Strike that, issue is back, except on iPhone 13 Pro Max. All devices using 16.2.

Newest playground (Just a different model):

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

iPhone 13 Pro Max:

- Safari loads fine
- Chrome loads fine

iPad Pro 5th gen

- Safari doesn’t show model unless WebGL via Metal is disabled
- Chrome doesn’t show model

iPad Pro 6th gen

- Safari doesn’t show model unless WebGL via Metal is disabled
- Chrome doesn’t show model

I’ve got access to a MacBook for debugging now. Unfortunately, I’m not seeing any errors in console, will continue looking into it to see if I find anything…

[Next page](https://forum.babylonjs.com/t/unable-to-load-glb-models-on-ios-safari-16-2/37099.md?page=2)
