# IOS 18.2 Causing WebGL Error

**URL:** <https://discourse.threejs.org/t/ios-18-2-causing-webgl-error/75143>\
**Category:** Questions\
**Tags:** ios, shaders\
**Created:** [December 13, 2024, 1:42am UTC](https://discourse.threejs.org/t/ios-18-2-causing-webgl-error/75143 "2024-12-13T01:42:38Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![YouJ](https://avatars.discourse-cdn.com/v4/letter/y/838e76/32.png) [@YouJ](https://discourse.threejs.org/u/YouJ)\
**Post date:** [December 13, 2024, 1:42am UTC](https://discourse.threejs.org/t/ios-18-2-causing-webgl-error/75143/1 "2024-12-13T01:42:38Z")

</div>

Hello,

With the recent IOS 18.2 update, I am facing a new issue with my ThreeJS WebApp.  
This wasn’t happening with previous IOS versions - first time encountering this.  
The error is as follows:  
 ![Screenshot](https://canada1.discourse-cdn.com/flex035/uploads/threejs/optimized/3X/7/d/7d549d7b6fd1c8155379b5f56b999e6624abba5e_2_690x44.png)

Any ideas why is this happening?

Any help is appreciated.  
Thank you.

---

<div class="post-metadata">

**Author:** ![mjurczyk](https://yyz1.discourse-cdn.com/flex035/user_avatar/discourse.threejs.org/mjurczyk/32/10995_2.png) [@mjurczyk](https://discourse.threejs.org/u/mjurczyk)\
**Post date:** [December 13, 2024, 4:14pm UTC](https://discourse.threejs.org/t/ios-18-2-causing-webgl-error/75143/2 "2024-12-13T16:14:53Z")

</div>

Most likely you’re exceeding the memory limits - depends on the device / system combination, there’s a chance updating iOS on an older device reduced the memory threshold to make the system run smoother at a cost of lower resources available for apps / WebView.

---

<div class="post-metadata">

**Author:** ![YouJ](https://avatars.discourse-cdn.com/v4/letter/y/838e76/32.png) [@YouJ](https://discourse.threejs.org/u/YouJ)\
**Post date:** [December 13, 2024, 4:49pm UTC](https://discourse.threejs.org/t/ios-18-2-causing-webgl-error/75143/3 "2024-12-13T16:49:22Z")

</div>

Thanks for the response.

I did solve the issue by adding the following to the Canvas:

```javascript
<Canvas gl={{ powerPreference: 'default', antialias: false }} />

```

This solved the memory issues.
