# Asset missing from BabylonJS CDN breaks scene.createDefaultEnvironment()

**URL:** <https://forum.babylonjs.com/t/asset-missing-from-babylonjs-cdn-breaks-scene-createdefaultenvironment/60870>\
**Category:** Bugs\
**Created:** [October 9, 2025, 8:46am UTC](https://forum.babylonjs.com/t/asset-missing-from-babylonjs-cdn-breaks-scene-createdefaultenvironment/60870 "2025-10-09T08:46:08Z")\
**Posts on this page:** 13\
**Page:** 1

<div class="post-metadata">

**Author:** ![STO](https://sea2.discourse-cdn.com/flex024/user_avatar/forum.babylonjs.com/sto/32/43064_2.png) [@STO](https://forum.babylonjs.com/u/STO)\
**Post date:** [October 9, 2025, 8:46am UTC](https://forum.babylonjs.com/t/asset-missing-from-babylonjs-cdn-breaks-scene-createdefaultenvironment/60870/1 "2025-10-09T08:46:08Z")

</div>

The asset `https://assets.babylonjs.com/core/environments/backgroundGround.png` appears to be unavailable (down since approximately yesterday evening).  
This causes severe visual issues in any project that relies on `scene.createDefaultEnvironment()`, since that helper function references this asset by default for the ground texture.

When initializing a scene with the default environment, the ground material fails to load properly, resulting in a broken or visually corrupted ground surface.

 ![image](https://us1.discourse-cdn.com/flex024/uploads/babylonjs/original/3X/9/3/93a6ae7f2a0f9c508dcefe7b455920e818ab776d.jpeg)

---

<div class="post-metadata">

**Author:** ![Joe\_Kerr](https://sea2.discourse-cdn.com/flex024/user_avatar/forum.babylonjs.com/joe_kerr/32/39017_2.png) [@Joe\_Kerr](https://forum.babylonjs.com/u/Joe_Kerr)\
**Post date:** [October 9, 2025, 10:51am UTC](https://forum.babylonjs.com/t/asset-missing-from-babylonjs-cdn-breaks-scene-createdefaultenvironment/60870/2 "2025-10-09T10:51:27Z")

</div>

Apologies if I go a bit rogue here but the actual bug should be that there are calls to a remote server from within the Babylon lib. 😮

I have just checked quickly: there is several hits for “assets.babylon” in Babylon.min.js as well as calls to at least typekit and twitter (if I remember correctly) according to the network tab.

---

<div class="post-metadata">

**Author:** ![STO](https://sea2.discourse-cdn.com/flex024/user_avatar/forum.babylonjs.com/sto/32/43064_2.png) [@STO](https://forum.babylonjs.com/u/STO)\
**Post date:** [October 9, 2025, 10:58am UTC](https://forum.babylonjs.com/t/asset-missing-from-babylonjs-cdn-breaks-scene-createdefaultenvironment/60870/3 "2025-10-09T10:58:59Z")

</div>

Seems to be fixed at the moment, but I agree with you (@Joe_Kerr) - the real issue is that the Babylon library makes remote calls in the first place.

---

<div class="post-metadata">

**Author:** ![Joe\_Kerr](https://sea2.discourse-cdn.com/flex024/user_avatar/forum.babylonjs.com/joe_kerr/32/39017_2.png) [@Joe\_Kerr](https://forum.babylonjs.com/u/Joe_Kerr)\
**Post date:** [October 9, 2025, 11:36am UTC](https://forum.babylonjs.com/t/asset-missing-from-babylonjs-cdn-breaks-scene-createdefaultenvironment/60870/4 "2025-10-09T11:36:07Z")

</div>

FYI for Electron users: Phew, crisis averted 🙂 You can intercept requests [easily](https://github.com/electron/electron/issues/9048#issuecomment-289868727). I have just quickly used this: `const isAllowed = test_url.startsWith("file:") || test_url.startsWith("devtools:");` Works! Gives a 404 for undesirable requests. N.B. It seems you have to use the filter object. Null disabled it for me.

---

<div class="post-metadata">

**Author:** ![Deltakosh](https://sea2.discourse-cdn.com/flex024/user_avatar/forum.babylonjs.com/deltakosh/32/26635_2.png) [@Deltakosh](https://forum.babylonjs.com/u/Deltakosh)\
**Post date:** [October 9, 2025, 4:52pm UTC](https://forum.babylonjs.com/t/asset-missing-from-babylonjs-cdn-breaks-scene-createdefaultenvironment/60870/5 "2025-10-09T16:52:01Z")

</div>

We always provide a solution so the user does not have to provide them if they do not want to. That being each call is UP to the user.

For instance it is up to you to not call createDefaultEnvironment without a texture for the ground. If you do not want the default one, simply provide your own:  
[IEnvironmentHelperOptions | Babylon.js Documentation](https://doc.babylonjs.com/typedoc/interfaces/BABYLON.IEnvironmentHelperOptions)

It is all for user convenience.

---

<div class="post-metadata">

**Author:** ![STO](https://sea2.discourse-cdn.com/flex024/user_avatar/forum.babylonjs.com/sto/32/43064_2.png) [@STO](https://forum.babylonjs.com/u/STO)\
**Post date:** [October 29, 2025, 3:58pm UTC](https://forum.babylonjs.com/t/asset-missing-from-babylonjs-cdn-breaks-scene-createdefaultenvironment/60870/6 "2025-10-29T15:58:24Z")

</div>

@Deltakosh  
This issue appears to have resurfaced.  
Assets from the Babylon asset storage are once again inaccessible.

Unfortunately, were unable to update all our projects immediately to use custom textures.

---

<div class="post-metadata">

**Author:** ![Deltakosh](https://sea2.discourse-cdn.com/flex024/user_avatar/forum.babylonjs.com/deltakosh/32/26635_2.png) [@Deltakosh](https://forum.babylonjs.com/u/Deltakosh)\
**Post date:** [October 29, 2025, 4:03pm UTC](https://forum.babylonjs.com/t/asset-missing-from-babylonjs-cdn-breaks-scene-createdefaultenvironment/60870/7 "2025-10-29T16:03:47Z")

</div>

Apparently azure is having a bad day  
All our sites are down

---

<div class="post-metadata">

**Author:** ![Deltakosh](https://sea2.discourse-cdn.com/flex024/user_avatar/forum.babylonjs.com/deltakosh/32/26635_2.png) [@Deltakosh](https://forum.babylonjs.com/u/Deltakosh)\
**Post date:** [October 29, 2025, 4:03pm UTC](https://forum.babylonjs.com/t/asset-missing-from-babylonjs-cdn-breaks-scene-createdefaultenvironment/60870/8 "2025-10-29T16:03:57Z")

</div>

cc @docEdub to confirm

---

<div class="post-metadata">

**Author:** ![docEdub](https://sea2.discourse-cdn.com/flex024/user_avatar/forum.babylonjs.com/docedub/32/14525_2.png) [@docEdub](https://forum.babylonjs.com/u/docEdub)\
**Post date:** [October 29, 2025, 5:38pm UTC](https://forum.babylonjs.com/t/asset-missing-from-babylonjs-cdn-breaks-scene-createdefaultenvironment/60870/9 "2025-10-29T17:38:28Z")

</div>

Yes, Azure is having issues that are affecting us.

---

<div class="post-metadata">

**Author:** ![DanSinni](https://sea2.discourse-cdn.com/flex024/user_avatar/forum.babylonjs.com/dansinni/32/14423_2.png) [@DanSinni](https://forum.babylonjs.com/u/DanSinni)\
**Post date:** [October 29, 2025, 6:31pm UTC](https://forum.babylonjs.com/t/asset-missing-from-babylonjs-cdn-breaks-scene-createdefaultenvironment/60870/10 "2025-10-29T18:31:19Z")

</div>

Would anyone happen to have the built version of `babylon.ktx2Decoder.js` so we can try including in our build and not rely on the CDN?

---

<div class="post-metadata">

**Author:** ![alexchuber](https://sea2.discourse-cdn.com/flex024/user_avatar/forum.babylonjs.com/alexchuber/32/52000_2.png) [@alexchuber](https://forum.babylonjs.com/u/alexchuber)\
**Post date:** [October 29, 2025, 8:06pm UTC](https://forum.babylonjs.com/t/asset-missing-from-babylonjs-cdn-breaks-scene-createdefaultenvironment/60870/11 "2025-10-29T20:06:52Z")

</div>

As a stopgap, you can consume `babylon.ktx2Decoder.js` from here: [https://cdn.jsdelivr.net/npm/babylonjs-ktx2decoder@8.33.4/babylon.ktx2Decoder.js](https://cdn.jsdelivr.net/npm/babylonjs-ktx2decoder@8.33.4/babylon.ktx2Decoder.js)

---

<div class="post-metadata">

**Author:** ![alexchuber](https://sea2.discourse-cdn.com/flex024/user_avatar/forum.babylonjs.com/alexchuber/32/52000_2.png) [@alexchuber](https://forum.babylonjs.com/u/alexchuber)\
**Post date:** [October 29, 2025, 8:11pm UTC](https://forum.babylonjs.com/t/asset-missing-from-babylonjs-cdn-breaks-scene-createdefaultenvironment/60870/12 "2025-10-29T20:11:00Z")

</div>

You might also need to locally serve the codecs used by the ktx2decoder. You should check out this doc page:

> <https://github.com/BabylonJS/Documentation/blob/128eb8d0b6e4441795bb5d28892aa737cf15145e/content/setup/frameworkPackages/CDN.md>

---

<div class="post-metadata">

**Author:** ![Deltakosh](https://sea2.discourse-cdn.com/flex024/user_avatar/forum.babylonjs.com/deltakosh/32/26635_2.png) [@Deltakosh](https://forum.babylonjs.com/u/Deltakosh)\
**Post date:** [October 29, 2025, 8:23pm UTC](https://forum.babylonjs.com/t/asset-missing-from-babylonjs-cdn-breaks-scene-createdefaultenvironment/60870/13 "2025-10-29T20:23:32Z")

</div>

Ok azure is back online folks. We should be good
