# Webgl context lost

**URL:** <https://forum.playcanvas.com/t/webgl-context-lost/25688>\
**Category:** Help & Support\
**Tags:** graphics\
**Created:** [May 13, 2022, 8:34am UTC](https://forum.playcanvas.com/t/webgl-context-lost/25688 "2022-05-13T08:34:55Z")\
**Posts on this page:** 7\
**Page:** 2

<div class="post-metadata">

**Author:** ![yaustar](https://forum.playcanvas.com/user_avatar/forum.playcanvas.com/yaustar/32/2268_2.png) [@yaustar](https://forum.playcanvas.com/u/yaustar)\
**Post date:** [May 13, 2022, 5:06pm UTC](https://forum.playcanvas.com/t/webgl-context-lost/25688/21 "2022-05-13T17:06:27Z")

</div>

I’m on Version 101.0.4951.64, I can’t reproduce the issue

---

<div class="post-metadata">

**Author:** ![Kulodo133](https://forum.playcanvas.com/letter_avatar_proxy/v4/letter/k/dc4da7/32.png) [@Kulodo133](https://forum.playcanvas.com/u/Kulodo133)\
**Post date:** [May 13, 2022, 5:08pm UTC](https://forum.playcanvas.com/t/webgl-context-lost/25688/22 "2022-05-13T17:08:13Z")

</div>

OK good to know. I’m struggling to think what else could be the issue.

Chrome is failing only on my 3 macs. The only thing that connects them is that I’m logged in with my account and that I’m on the same network. Clutching at straws now , I added a 2nd Chrome user profile a couple of days ago, and I’m also logged into as iOS device on iOS 14 that is WebGL1.

---

<div class="post-metadata">

**Author:** ![Kulodo133](https://forum.playcanvas.com/letter_avatar_proxy/v4/letter/k/dc4da7/32.png) [@Kulodo133](https://forum.playcanvas.com/u/Kulodo133)\
**Post date:** [May 13, 2022, 5:54pm UTC](https://forum.playcanvas.com/t/webgl-context-lost/25688/23 "2022-05-13T17:54:55Z")

</div>

If I set the following chrome flag to Metal rather than the default OpenGL then I cannot reproduce the error but the rendered post-effect doesn’t look the same - it look like the safari rendered output.

chrome://flags/#use-angle

 ![Screenshot 2022-05-13 at 18.45.24](https://forum-files-playcanvas-com.s3.dualstack.eu-west-1.amazonaws.com/original/3X/3/e/3e8cf5cc875f580d0ee6206d85c5a040a0476435.png)

Could it be that the OpenGL backend has bugs that just happen to effect the gpus in my macs?

---

<div class="post-metadata">

**Author:** ![mvaligursky](https://forum.playcanvas.com/user_avatar/forum.playcanvas.com/mvaligursky/32/11681_2.png) [@mvaligursky](https://forum.playcanvas.com/u/mvaligursky)\
**Post date:** [May 13, 2022, 7:09pm UTC](https://forum.playcanvas.com/t/webgl-context-lost/25688/24 "2022-05-13T19:09:03Z")

</div>

it’s possible, our Macs have AMD Radeons a well as intel. We need to try and force the intel one on to see if that makes a difference.

---

<div class="post-metadata">

**Author:** ![Kulodo133](https://forum.playcanvas.com/letter_avatar_proxy/v4/letter/k/dc4da7/32.png) [@Kulodo133](https://forum.playcanvas.com/u/Kulodo133)\
**Post date:** [May 16, 2022, 11:39am UTC](https://forum.playcanvas.com/t/webgl-context-lost/25688/25 "2022-05-16T11:39:39Z")

</div>

If I turn off anti-alias in the render settings the issue does not occur anymore.

I noticed yesterday when running on Safari the console shows the following. Could it be related to my Chrome issues on mac?

> Antialiasing has been turned off due to rendering issues on AppleWebKit 15.4

---

<div class="post-metadata">

**Author:** ![LeXXik](https://forum.playcanvas.com/user_avatar/forum.playcanvas.com/lexxik/32/6953_2.png) [@LeXXik](https://forum.playcanvas.com/u/LeXXik)\
**Post date:** [May 17, 2023, 8:16am UTC](https://forum.playcanvas.com/t/webgl-context-lost/25688/26 "2023-05-17T08:16:11Z")

</div>

We have met the same issue on a Poco X3 NFC mobile device (Android). On app start, it crashes with failing to compile vertex shader and losing the context. Seems to be when the engine processes some models/materials. Works fine on other devices.

 ![Screenshot_2023-05-17-15-07-34-035_com.brave.browser (1)](https://forum-files-playcanvas-com.s3.dualstack.eu-west-1.amazonaws.com/original/3X/e/2/e2b5f677a26b75e8f2c288ab00ecb20d31bab617.jpeg)

---

<div class="post-metadata">

**Author:** ![Shreyam\_Biswas](https://forum.playcanvas.com/user_avatar/forum.playcanvas.com/shreyam_biswas/32/28783_2.png) [@Shreyam\_Biswas](https://forum.playcanvas.com/u/Shreyam_Biswas)\
**Post date:** [February 6, 2025, 12:26pm UTC](https://forum.playcanvas.com/t/webgl-context-lost/25688/27 "2025-02-06T12:26:23Z")

</div>

turn off hardware acceleration. It worked for me in chrome, not sure about safari…

[Previous page](https://forum.playcanvas.com/t/webgl-context-lost/25688.md?page=1)
