# Loading a texture from a react app shows checkerboard

**URL:** <https://forum.babylonjs.com/t/loading-a-texture-from-a-react-app-shows-checkerboard/24315>\
**Category:** Questions\
**Created:** [October 5, 2021, 2:45pm UTC](https://forum.babylonjs.com/t/loading-a-texture-from-a-react-app-shows-checkerboard/24315 "2021-10-05T14:45:44Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![bozworth](https://sea2.discourse-cdn.com/flex024/user_avatar/forum.babylonjs.com/bozworth/32/6484_2.png) [@bozworth](https://forum.babylonjs.com/u/bozworth)\
**Post date:** [October 5, 2021, 2:45pm UTC](https://forum.babylonjs.com/t/loading-a-texture-from-a-react-app-shows-checkerboard/24315/1 "2021-10-05T14:45:44Z")

</div>

Im trying to load a texture using new Texture(URL,scene)

assets/screenshots/SetUpScreen\_English.jpg

but im getting a checkerboard pattern, in the inspector i load it in manually via the button and it works fine.

using TextureTask shows the same problem and i also get a message saying :

`Error while trying to load image: assets/screenshots/Set... - Fallback texture was used`

this is a react app by the way

Should i load textures another way? using img?

---

<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:** [October 5, 2021, 3:08pm UTC](https://forum.babylonjs.com/t/loading-a-texture-from-a-react-app-shows-checkerboard/24315/2 "2021-10-05T15:08:28Z")

</div>

It should work, as long as your texture url is available on your website. Usually the checkerboard pattern would be a 404 of some sorts. You can easily check by trying to access your image url manually.

---

<div class="post-metadata">

**Author:** ![bozworth](https://sea2.discourse-cdn.com/flex024/user_avatar/forum.babylonjs.com/bozworth/32/6484_2.png) [@bozworth](https://forum.babylonjs.com/u/bozworth)\
**Post date:** [October 5, 2021, 3:10pm UTC](https://forum.babylonjs.com/t/loading-a-texture-from-a-react-app-shows-checkerboard/24315/3 "2021-10-05T15:10:14Z")

</div>

Ok you are right, when i go to the url it reloads the react page and doesnt go to the asset…
