[SOLVED] Black texture on Chrome and Firefox, works in Edge

Hi folks,

This project is showing something very strange - I’m trying to create a texture from a base64 image ( this will eventually be a dynamic image ), but it’s showing different results in different browsers - and in some, after reloading, the issue is fixed.

Try this in Chrome and Firefox ( reloading the running scene should work ), and in Edge ( should work first time ).


If anyone has any idea of what’s causing the inconsistencies, it would be great to hear!

EDIT: Even when setting the base64 directly using a local string, the image still needs to load. I’ve edited the example, showing both methods.