Texture from HTMLimageElement render error in Safari

Hi Babylon team,

I’d like to raise an issue I’ve seen with Babylon running on Safari Browsers, I’m not sure what the underlying cause is, or if it’s a Babylon issue per se, but would be useful to see a workaround or fix if possible.

When creating a BABYLON.Texture using HTMLImageElement as the source causes the Babylon error texture to show instead.

I’ve created a basic example of the bug here:

You should see the crate texture being rendered, but running this from Safari on IOS or mac and you will see the error texture instead.



This will be fixed in the next nightly thanks for reporting !!!


Awesome! That’s my one good deed for the day :ok_hand: