# Texture stopped loading without any change in code

**URL:** <https://forum.babylonjs.com/t/texture-stopped-loading-without-any-change-in-code/51072>\
**Category:** Questions\
**Tags:** material, texture, textures\
**Created:** [June 5, 2024, 7:28am UTC](https://forum.babylonjs.com/t/texture-stopped-loading-without-any-change-in-code/51072 "2024-06-05T07:28:06Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![SAURABH\_CHADHA](https://sea2.discourse-cdn.com/flex024/user_avatar/forum.babylonjs.com/saurabh_chadha/32/21254_2.png) [@SAURABH\_CHADHA](https://forum.babylonjs.com/u/SAURABH_CHADHA)\
**Post date:** [June 5, 2024, 7:28am UTC](https://forum.babylonjs.com/t/texture-stopped-loading-without-any-change-in-code/51072/1 "2024-06-05T07:28:06Z")

</div>

Hello,

Here is my playgroud code which is not even loading my object -  
Please note - mtl file and texture.jpg is kept beside obj file

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

But the actual issue is my texture has automatically stopped loading, it was working fine since many days and suddenly I checked my page today and it looks like this -

 ![image](https://us1.discourse-cdn.com/flex024/uploads/babylonjs/original/3X/0/1/012fd5ad70ff9c66767af9db7d98ad98d2b9dcbb.jpeg)  
 ![image](https://us1.discourse-cdn.com/flex024/uploads/babylonjs/original/3X/b/a/ba14287a2715f2778c8ea5fd072183f1453df757.png)

Page link - [Babylon.js OBJ Loader Example](https://sapphireprofits.com/test/bjs/load-obj/index2.html)

.mtl file code:

```auto
# Blender 4.0.0 MTL File: 'sample.blend'
# www.blender.org

newmtl Material
Ns 250.000000
Ka 1.000000 1.000000 1.000000
Ks 0.500000 0.500000 0.500000
Ni 1.450000
d 1.000000
illum 2

map_Kd texture.jpg

```

---

<div class="post-metadata">

**Author:** ![Tricotou](https://sea2.discourse-cdn.com/flex024/user_avatar/forum.babylonjs.com/tricotou/32/5844_2.png) [@Tricotou](https://forum.babylonjs.com/u/Tricotou)\
**Post date:** [June 5, 2024, 8:17am UTC](https://forum.babylonjs.com/t/texture-stopped-loading-without-any-change-in-code/51072/2 "2024-06-05T08:17:10Z")

</div>

Hello 🙂

About the model not even loading in Playground :

> [@SAURABH\_CHADHA](#):
>
> Here is my playgroud code which is not even loading my object

It’s a problem with CORS policy. The Playground needs the CORS Policy of your server to authorise download from another domain ([playground.babylonjs.com](https://playground.babylonjs.com/))

* * *

About the model appearing Wireframe :  
It’s weird but indeed in your loaded scene, the material has `wireframe=true` enabled.  
Try to run `scene.materials[0].wireframe = false;` (or `scene.materials[1].wireframe = false;` the order is not guaranted) in the debug console of your web page and it solves the issue… You might be enabling wireframe somewhere

++  
Tricotou
