Unable to create texture

Under what circumstances will thinEngine._createTexture() fail?
I occasionally encounter this error in IOS14.1 mobile device.

Probably when there’s not enough GPU memory to create the new texture? Do you get a code/error message in the console?

This is almost always related to a context lost event before due to a high memory usage as @Evgeni_Popov mentionned.

Happy new year!
Great suggestion, but how can I catch this WebGL error message so I can save it into logs?

You can see them in the browser console log (F12 in Chrome to open it).

1 Like