# WebApp from the Editor is not running on Chrome

**URL:** <https://forum.babylonjs.com/t/webapp-from-the-editor-is-not-running-on-chrome/28118>\
**Category:** Bugs\
**Tags:** editor\
**Created:** [March 3, 2022, 1:15pm UTC](https://forum.babylonjs.com/t/webapp-from-the-editor-is-not-running-on-chrome/28118 "2022-03-03T13:15:13Z")\
**Posts on this page:** 12\
**Page:** 1

<div class="post-metadata">

**Author:** ![roland](https://sea2.discourse-cdn.com/flex024/user_avatar/forum.babylonjs.com/roland/32/38940_2.png) [@roland](https://forum.babylonjs.com/u/roland)\
**Post date:** [March 3, 2022, 1:15pm UTC](https://forum.babylonjs.com/t/webapp-from-the-editor-is-not-running-on-chrome/28118/1 "2022-03-03T13:15:13Z")

</div>

Hi!  
I’ve built and deployed the basic cube scene from the editor to a server.

[https://editor-test.babylonjs.xyz/](https://editor-test.babylonjs.xyz/)

It fails to run in Chrome however it runs in Firefox without problems.

```auto
logger.js:43 BJS - [14:06:33]: Error: FRAGMENT SHADER ERROR: 0:481: 'sampler2DShadow' : No precision specified
ERROR: 0:496: 'sampler2DShadow' : No precision specified
ERROR: 0:525: 'sampler2DShadow' : No precision specified
ERROR: 0:737: 'sampler2DShadow' : No precision specified
ERROR: 0:786: 'sampler2DShadow' : No precision specified
ERROR: 0:791: 'sampler2DShadow' : No precision specified
ERROR: 0:796: 'sampler2DShadow' : No precision specified

```

There seems to be another problem running the built application on Chrome reported by @ZzMarmot here (no issues on Firefox):

> [@How to publish Babylon.js from BabylonJS Editor to Web server](https://forum.babylonjs.com/t/how-to-publish-babylon-js-from-babylonjs-editor-to-web-server/28072/2):
>
> Hello! It’s a bit hard to know without more information, but a 403 error usually indicates something in your authorization/security setup ( [403 Forbidden - HTTP | MDN (mozilla.org)](https://developer.mozilla.org/en-US/docs/Web/HTTP/Status/403) ), so I`d check that first slight_smile@julien-moreau is the editor creator and might have some idea of what’s going on editor-side

Can you guys help here?

Thank you!

---

<div class="post-metadata">

**Author:** ![carolhmj](https://sea2.discourse-cdn.com/flex024/user_avatar/forum.babylonjs.com/carolhmj/32/25918_2.png) [@carolhmj](https://forum.babylonjs.com/u/carolhmj)\
**Post date:** [March 3, 2022, 1:50pm UTC](https://forum.babylonjs.com/t/webapp-from-the-editor-is-not-running-on-chrome/28118/2 "2022-03-03T13:50:39Z")

</div>

Hey there! 😁 The sampler2D issue was a browser breaking change fixed in 4.2.1 and 5.x versions. I think editor might be using 4.2.0, @julien-moreau is that right?

---

<div class="post-metadata">

**Author:** ![ZzMarmot](https://sea2.discourse-cdn.com/flex024/user_avatar/forum.babylonjs.com/zzmarmot/32/23651_2.png) [@ZzMarmot](https://forum.babylonjs.com/u/ZzMarmot)\
**Post date:** [March 3, 2022, 5:00pm UTC](https://forum.babylonjs.com/t/webapp-from-the-editor-is-not-running-on-chrome/28118/3 "2022-03-03T17:00:54Z")

</div>

Hello, I use FireFox and it works well.

---

<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:** [March 3, 2022, 5:28pm UTC](https://forum.babylonjs.com/t/webapp-from-the-editor-is-not-running-on-chrome/28118/4 "2022-03-03T17:28:14Z")

</div>

Yup cause 4.2.1 is meant to fix a Chrome issue only, you should update to it.

---

<div class="post-metadata">

**Author:** ![roland](https://sea2.discourse-cdn.com/flex024/user_avatar/forum.babylonjs.com/roland/32/38940_2.png) [@roland](https://forum.babylonjs.com/u/roland)\
**Post date:** [March 3, 2022, 6:35pm UTC](https://forum.babylonjs.com/t/webapp-from-the-editor-is-not-running-on-chrome/28118/5 "2022-03-03T18:35:22Z")

</div>

@sebavan I’m not using the Editor at all so it’s not an issue for me. I was just trying to help @ZzMarmot to solve his problem, created a quick test and ran into the shader issue. However this topic can be valuable for the others experiencing the same problem.  
Thank you!

---

<div class="post-metadata">

**Author:** ![Lozamded](https://avatars.discourse-cdn.com/v4/letter/l/4bbf92/32.png) [@Lozamded](https://forum.babylonjs.com/u/Lozamded)\
**Post date:** [March 21, 2022, 4:39am UTC](https://forum.babylonjs.com/t/webapp-from-the-editor-is-not-running-on-chrome/28118/6 "2022-03-21T04:39:30Z")

</div>

Hey how I can update the babylon version of the editor? I have the same problem in chrome or chromium based browsers [Autito](https://www.deephorizons.cl/babyloncar/)

---

<div class="post-metadata">

**Author:** ![julien-moreau](https://sea2.discourse-cdn.com/flex024/user_avatar/forum.babylonjs.com/julien-moreau/32/12070_2.png) [@julien-moreau](https://forum.babylonjs.com/u/julien-moreau)\
**Post date:** [March 24, 2022, 6:04pm UTC](https://forum.babylonjs.com/t/webapp-from-the-editor-is-not-running-on-chrome/28118/7 "2022-03-24T18:04:25Z")

</div>

Hey @Lozamded  
I think you don’t need to update the version of the editor but more the one you are using in the project.  
Simply set the version of all « @babylonjs » dependencies in the package.json file of the project to 4.2.1 and then reinstall dependencies using « npm i »

Don’t forget to rebuild the project (npm run build or CRTL+b in the editor)

The editor already uses 4.2.1

---

<div class="post-metadata">

**Author:** ![Lozamded](https://avatars.discourse-cdn.com/v4/letter/l/4bbf92/32.png) [@Lozamded](https://forum.babylonjs.com/u/Lozamded)\
**Post date:** [March 24, 2022, 7:19pm UTC](https://forum.babylonjs.com/t/webapp-from-the-editor-is-not-running-on-chrome/28118/8 "2022-03-24T19:19:47Z")

</div>

Thanks I will try it

---

<div class="post-metadata">

**Author:** ![julien-moreau](https://sea2.discourse-cdn.com/flex024/user_avatar/forum.babylonjs.com/julien-moreau/32/12070_2.png) [@julien-moreau](https://forum.babylonjs.com/u/julien-moreau)\
**Post date:** [March 24, 2022, 8:16pm UTC](https://forum.babylonjs.com/t/webapp-from-the-editor-is-not-running-on-chrome/28118/9 "2022-03-24T20:16:25Z")

</div>

Let me know if it works for you 🙂

---

<div class="post-metadata">

**Author:** ![Lozamded](https://avatars.discourse-cdn.com/v4/letter/l/4bbf92/32.png) [@Lozamded](https://forum.babylonjs.com/u/Lozamded)\
**Post date:** [March 24, 2022, 10:47pm UTC](https://forum.babylonjs.com/t/webapp-from-the-editor-is-not-running-on-chrome/28118/10 "2022-03-24T22:47:21Z")

</div>

Its work =D thanks a lot

---

<div class="post-metadata">

**Author:** ![Brooks\_Lee](https://sea2.discourse-cdn.com/flex024/user_avatar/forum.babylonjs.com/brooks_lee/32/24489_2.png) [@Brooks\_Lee](https://forum.babylonjs.com/u/Brooks_Lee)\
**Post date:** [May 19, 2022, 3:14am UTC](https://forum.babylonjs.com/t/webapp-from-the-editor-is-not-running-on-chrome/28118/11 "2022-05-19T03:14:06Z")

</div>

hey @julien-moreau  
I have tried to change those dependencies in the package.json to 4.2.1, but it seems like i couldn’t install them. it was just stucked and reported (cached miss).  
I went to the github page and found there is just 4.2.0 version of the editor. Should upgrade the babylonjs version to higher version?  
wish for your reply! thank you

---

<div class="post-metadata">

**Author:** ![Brooks\_Lee](https://sea2.discourse-cdn.com/flex024/user_avatar/forum.babylonjs.com/brooks_lee/32/24489_2.png) [@Brooks\_Lee](https://forum.babylonjs.com/u/Brooks_Lee)\
**Post date:** [May 19, 2022, 7:07am UTC](https://forum.babylonjs.com/t/webapp-from-the-editor-is-not-running-on-chrome/28118/12 "2022-05-19T07:07:13Z")

</div>

Hey, I just fixed it. It seems like it was my network problem, Thank you so much!
