# Babylon.js stopped working for me on chrome windows 10

**URL:** <https://forum.babylonjs.com/t/babylon-js-stopped-working-for-me-on-chrome-windows-10/32476>\
**Category:** Bugs\
**Created:** [July 25, 2022, 6:40pm UTC](https://forum.babylonjs.com/t/babylon-js-stopped-working-for-me-on-chrome-windows-10/32476 "2022-07-25T18:40:23Z")\
**Posts on this page:** 20\
**Page:** 2

<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:** [July 27, 2022, 9:43pm UTC](https://forum.babylonjs.com/t/babylon-js-stopped-working-for-me-on-chrome-windows-10/32476/21 "2022-07-27T21:43:26Z")

</div>

@Deltakosh , did you ever set the service worker for the playground? I don’t remember seeing it in code, but i might have missed it. It’s the only thing i can think of that might cause such a behavior

---

<div class="post-metadata">

**Author:** ![arcman7](https://sea2.discourse-cdn.com/flex024/user_avatar/forum.babylonjs.com/arcman7/32/20249_2.png) [@arcman7](https://forum.babylonjs.com/u/arcman7)\
**Post date:** [July 27, 2022, 9:44pm UTC](https://forum.babylonjs.com/t/babylon-js-stopped-working-for-me-on-chrome-windows-10/32476/22 "2022-07-27T21:44:29Z")

</div>

[https://bugs.chromium.org/p/chromium/issues/detail?id=1347912&q=OS%3DWindows&can=2](https://bugs.chromium.org/p/chromium/issues/detail?id=1347912&q=OS%3DWindows&can=2)

Did a quick google search, and found this issue. Does this seem like something that could be related? If all I have to do is downgrade my chrome version, I’ll take that as the solution.

---

<div class="post-metadata">

**Author:** ![withADoveInOneHand](https://sea2.discourse-cdn.com/flex024/user_avatar/forum.babylonjs.com/withadoveinonehand/32/1243_2.png) [@withADoveInOneHand](https://forum.babylonjs.com/u/withADoveInOneHand)\
**Post date:** [July 27, 2022, 10:53pm UTC](https://forum.babylonjs.com/t/babylon-js-stopped-working-for-me-on-chrome-windows-10/32476/23 "2022-07-27T22:53:52Z")

</div>

It’s working fine again for me right this moment.

I originally suspected it was some CDN issue, my main project serves its own BJS though.  
_shrug_ solar flare maybe. Hopefully arcman’s issue is not more serious.

---

<div class="post-metadata">

**Author:** ![arcman7](https://sea2.discourse-cdn.com/flex024/user_avatar/forum.babylonjs.com/arcman7/32/20249_2.png) [@arcman7](https://forum.babylonjs.com/u/arcman7)\
**Post date:** [July 27, 2022, 11:04pm UTC](https://forum.babylonjs.com/t/babylon-js-stopped-working-for-me-on-chrome-windows-10/32476/24 "2022-07-27T23:04:53Z")

</div>

It’s also working for me at the moment.

Edit: Bug is back again.

Is there some way for us to upload and share profiles we capture from the chrome debugger console?

In the mean time I’ve uploaded a performance profile capture on chrome here:

> **[easyupload.io](https://easyupload.io/ctmrdw)**
>
> easyupload.io

I used this playground:

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

---

<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:** [July 28, 2022, 2:57pm UTC](https://forum.babylonjs.com/t/babylon-js-stopped-working-for-me-on-chrome-windows-10/32476/25 "2022-07-28T14:57:22Z")

</div>

Thanks for the trace, I do not understand how getContext could take that long 🙂 it is insane:

 ![image](https://us1.discourse-cdn.com/flex024/uploads/babylonjs/original/3X/7/1/71203dc7681c254b034ed1f5019add4a2e782003.png)

Could you open a bug on the chromium bug tracker ? then share the bug link here and I ll try to ping a couple ppl at MS and Google about the issue.

Could you also attached the clipboard copy of chrome://gpu with the bug and lets double check why it could hang that much.

---

<div class="post-metadata">

**Author:** ![arcman7](https://sea2.discourse-cdn.com/flex024/user_avatar/forum.babylonjs.com/arcman7/32/20249_2.png) [@arcman7](https://forum.babylonjs.com/u/arcman7)\
**Post date:** [July 28, 2022, 5:09pm UTC](https://forum.babylonjs.com/t/babylon-js-stopped-working-for-me-on-chrome-windows-10/32476/26 "2022-07-28T17:09:55Z")

</div>

Thank you so much, @sebavan, I really appreciate your help in this.

Here’s my `chrome://gpu` clipboard as a .txt file:

> **[easyupload.io](https://easyupload.io/t6cygr)**
>
> easyupload.io

What would you title the error report for chromium? `Canvas getContext stalls for a long time`?

---

<div class="post-metadata">

**Author:** ![arcman7](https://sea2.discourse-cdn.com/flex024/user_avatar/forum.babylonjs.com/arcman7/32/20249_2.png) [@arcman7](https://forum.babylonjs.com/u/arcman7)\
**Post date:** [July 28, 2022, 5:59pm UTC](https://forum.babylonjs.com/t/babylon-js-stopped-working-for-me-on-chrome-windows-10/32476/27 "2022-07-28T17:59:33Z")

</div>

@sebavan okay, here’s the chromium issue:  
[https://bugs.chromium.org/p/chromium/issues/detail?id=1348258](https://bugs.chromium.org/p/chromium/issues/detail?id=1348258)

---

<div class="post-metadata">

**Author:** ![arcman7](https://sea2.discourse-cdn.com/flex024/user_avatar/forum.babylonjs.com/arcman7/32/20249_2.png) [@arcman7](https://forum.babylonjs.com/u/arcman7)\
**Post date:** [July 30, 2022, 11:06pm UTC](https://forum.babylonjs.com/t/babylon-js-stopped-working-for-me-on-chrome-windows-10/32476/28 "2022-07-30T23:06:18Z")

</div>

So I also noticed a few other things, if I let a single tab load for the 3-5 minutes it takes for a babylon scene to load, be it from a playground or localhost, then every tab will work. This even applies to a new incognito window, bizarre.

Three js scenes seem to work always.

Also, the more interesting thing, the babylon js scenes seem to load just fine through whatever iframe environment is being used to load them up in the docs pages, for example all of these work fine from the doc page:

> **[Environment | Babylon.js Documentation](https://doc.babylonjs.com/divingDeeper/environment/environment_introduction)**
>
> Begin your learning about environments in Babylon.js.

but if I try to load up the examples in a separate pg tab, it freezes as usual.

---

<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:** [August 1, 2022, 2:42pm UTC](https://forum.babylonjs.com/t/babylon-js-stopped-working-for-me-on-chrome-windows-10/32476/29 "2022-08-01T14:42:43Z")

</div>

@RaananW can you think of anything who could create this in the playground ?

---

<div class="post-metadata">

**Author:** ![arcman7](https://sea2.discourse-cdn.com/flex024/user_avatar/forum.babylonjs.com/arcman7/32/20249_2.png) [@arcman7](https://forum.babylonjs.com/u/arcman7)\
**Post date:** [August 1, 2022, 7:52pm UTC](https://forum.babylonjs.com/t/babylon-js-stopped-working-for-me-on-chrome-windows-10/32476/30 "2022-08-01T19:52:55Z")

</div>

I manually downloaded a windows update that never auto-updated for me. After installing the windows update and restarting my computer everything works normally again. That really sucked. Thank you @sebavan @RaananW @Deltakosh for taking the time to look into 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:** [August 1, 2022, 8:23pm UTC](https://forum.babylonjs.com/t/babylon-js-stopped-working-for-me-on-chrome-windows-10/32476/31 "2022-08-01T20:23:37Z")

</div>

Ohhhh great !!! this was pretty scary !!!

---

<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:** [August 2, 2022, 11:24am UTC](https://forum.babylonjs.com/t/babylon-js-stopped-working-for-me-on-chrome-windows-10/32476/32 "2022-08-02T11:24:44Z")

</div>

I am so happy it is working now. I am still trying to understand what could cause such a behavior. Different tabs are sandboxed, so it couldn’t have been some blocking scripts between the pages. It wasn’t a network issue, and we don’t use service workers so it couldn’t have been that. The only thing I can think of is some issue with the graphic driver. Which might have been solved with an OS update. But this is just an assumption. It’s really hard to find a reason to something that you can’t reproduce…

Anyhow - glad it is working, please let us know if it happens again.

---

<div class="post-metadata">

**Author:** ![arcman7](https://sea2.discourse-cdn.com/flex024/user_avatar/forum.babylonjs.com/arcman7/32/20249_2.png) [@arcman7](https://forum.babylonjs.com/u/arcman7)\
**Post date:** [August 2, 2022, 6:52pm UTC](https://forum.babylonjs.com/t/babylon-js-stopped-working-for-me-on-chrome-windows-10/32476/33 "2022-08-02T18:52:52Z")

</div>

I’m making the guess that there was something was going wrong when shaders are built at run time, because it almost felt as though something needed to be built first, and once it was present everything on every tab (localhost or online playgrounds) would start working. If you closed that tab, whatever it was had to be rebuilt.

I reeeallly hope this never happens again. 🤞

---

<div class="post-metadata">

**Author:** ![withADoveInOneHand](https://sea2.discourse-cdn.com/flex024/user_avatar/forum.babylonjs.com/withadoveinonehand/32/1243_2.png) [@withADoveInOneHand](https://forum.babylonjs.com/u/withADoveInOneHand)\
**Post date:** [September 20, 2022, 1:46am UTC](https://forum.babylonjs.com/t/babylon-js-stopped-working-for-me-on-chrome-windows-10/32476/34 "2022-09-20T01:46:46Z")

</div>

Mine still does it on Win11. Windows update says I’m up to date.  
I’ve just been keeping a pinned tab of a simple project open.

---

<div class="post-metadata">

**Author:** ![arcman7](https://sea2.discourse-cdn.com/flex024/user_avatar/forum.babylonjs.com/arcman7/32/20249_2.png) [@arcman7](https://forum.babylonjs.com/u/arcman7)\
**Post date:** [September 20, 2022, 2:04am UTC](https://forum.babylonjs.com/t/babylon-js-stopped-working-for-me-on-chrome-windows-10/32476/35 "2022-09-20T02:04:27Z")

</div>

My windows 10 OS also thought it was up to date if I recall, I had to hunt down the update.

---

<div class="post-metadata">

**Author:** ![jetavut](https://avatars.discourse-cdn.com/v4/letter/j/e5b9ba/32.png) [@jetavut](https://forum.babylonjs.com/u/jetavut)\
**Post date:** [March 2, 2023, 2:34am UTC](https://forum.babylonjs.com/t/babylon-js-stopped-working-for-me-on-chrome-windows-10/32476/36 "2023-03-02T02:34:05Z")

</div>

I have the same issue  
Windows 10, all chromium based browsers take roughly 10mn to load [https://www.babylonjs-playground.com/](https://www.babylonjs-playground.com/) the first time.  
According to the network inspector, it takes ages to get a response from ts.worker.js.

---

<div class="post-metadata">

**Author:** ![arcman7](https://sea2.discourse-cdn.com/flex024/user_avatar/forum.babylonjs.com/arcman7/32/20249_2.png) [@arcman7](https://forum.babylonjs.com/u/arcman7)\
**Post date:** [March 2, 2023, 4:02am UTC](https://forum.babylonjs.com/t/babylon-js-stopped-working-for-me-on-chrome-windows-10/32476/37 "2023-03-02T04:02:23Z")

</div>

Update either windows or chrome. In my case I had to do something to manually trigger the windows update.

---

<div class="post-metadata">

**Author:** ![jetavut](https://avatars.discourse-cdn.com/v4/letter/j/e5b9ba/32.png) [@jetavut](https://forum.babylonjs.com/u/jetavut)\
**Post date:** [March 2, 2023, 5:08am UTC](https://forum.babylonjs.com/t/babylon-js-stopped-working-for-me-on-chrome-windows-10/32476/38 "2023-03-02T05:08:11Z")

</div>

Unfortunately it doesn’t work for me. I’ve updated Windows 10 several times in the past few months to no avail.  
The issue persists with either Chrome, Edge or Brave.

No issue with Firefox, which is non chromium based.

---

<div class="post-metadata">

**Author:** ![arcman7](https://sea2.discourse-cdn.com/flex024/user_avatar/forum.babylonjs.com/arcman7/32/20249_2.png) [@arcman7](https://forum.babylonjs.com/u/arcman7)\
**Post date:** [March 2, 2023, 6:33am UTC](https://forum.babylonjs.com/t/babylon-js-stopped-working-for-me-on-chrome-windows-10/32476/39 "2023-03-02T06:33:58Z")

</div>

Can you try chrome canary, also what version of chrome are you running?

---

<div class="post-metadata">

**Author:** ![jetavut](https://avatars.discourse-cdn.com/v4/letter/j/e5b9ba/32.png) [@jetavut](https://forum.babylonjs.com/u/jetavut)\
**Post date:** [March 2, 2023, 7:04am UTC](https://forum.babylonjs.com/t/babylon-js-stopped-working-for-me-on-chrome-windows-10/32476/40 "2023-03-02T07:04:48Z")

</div>

I’m using Chrome Version 110.0.5481.178.  
The same issue occurs with Chrome Canary.

If my memory serves right, it started to happen after uninstalling Microsoft Edge WebView2 Runtime (it was eating too much RAM). I have reinstalled it since but the issue persists.

[Previous page](https://forum.babylonjs.com/t/babylon-js-stopped-working-for-me-on-chrome-windows-10/32476.md?page=1)

[Next page](https://forum.babylonjs.com/t/babylon-js-stopped-working-for-me-on-chrome-windows-10/32476.md?page=3)
