# \[Solved\] Random problem in some devices

**URL:** <https://forum.babylonjs.com/t/solved-random-problem-in-some-devices/3888>\
**Category:** Bugs\
**Created:** [June 14, 2019, 8:46am UTC](https://forum.babylonjs.com/t/solved-random-problem-in-some-devices/3888 "2019-06-14T08:46:24Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![Escobar](https://sea2.discourse-cdn.com/flex024/user_avatar/forum.babylonjs.com/escobar/32/2726_2.png) [@Escobar](https://forum.babylonjs.com/u/Escobar)\
**Post date:** [June 14, 2019, 8:46am UTC](https://forum.babylonjs.com/t/solved-random-problem-in-some-devices/3888/1 "2019-06-14T08:46:24Z")

</div>

I didn’t manage to find a way to reproduce it in most of the devices but I know that it is related to dispose() on textures (cubetextures) and the error is:

![image](https://us1.discourse-cdn.com/flex024/uploads/babylonjs/original/2X/8/8afff3eb6118660b7e548e9d3b887d8e4b0a778c.png)

Unfortunatly I cannot reproduce that on my own devices so I need the help from a friend to test this (Pocophone mobile).

Thank you!

---

<div class="post-metadata">

**Author:** ![sharp](https://sea2.discourse-cdn.com/flex024/user_avatar/forum.babylonjs.com/sharp/32/1325_2.png) [@sharp](https://forum.babylonjs.com/u/sharp)\
**Post date:** [June 14, 2019, 9:04am UTC](https://forum.babylonjs.com/t/solved-random-problem-in-some-devices/3888/2 "2019-06-14T09:04:14Z")

</div>

Hi you don’t provide enough informations to debug, we need a playground 🙂… but I already saw this error when I set an object witch is not a texture to a texture. Maybe you disposed a texture and tried to set the disposed object to a texture chanel ?

---

<div class="post-metadata">

**Author:** ![Escobar](https://sea2.discourse-cdn.com/flex024/user_avatar/forum.babylonjs.com/escobar/32/2726_2.png) [@Escobar](https://forum.babylonjs.com/u/Escobar)\
**Post date:** [June 14, 2019, 11:10am UTC](https://forum.babylonjs.com/t/solved-random-problem-in-some-devices/3888/3 "2019-06-14T11:10:05Z")

</div>

You are right some devices do not wait until the texture is properly loaded using promises did the work, thank you!
