bevy_webgl2 icon indicating copy to clipboard operation
bevy_webgl2 copied to clipboard

sprite sheets don't work on macOS browsers

Open gzzo opened this issue 3 years ago • 4 comments

I created a minimal repository to reproduce: https://github.com/gzzo/spritesheet_demo

using cargo run you can see the sprite sheet loaded locally

using wasm-pack build --target web --release (and copying the assets to pkg/) you can't see the sprite sheet

gzzo avatar Jun 03 '21 15:06 gzzo

Probably related to #20.

It depends on your browser, its version, your os and your gpu...

mockersf avatar Jun 03 '21 19:06 mockersf

Confirming that this works on:

  • Windows Chrome and Firefox

But does not work on:

  • macOS Chrome, Firefox, and Safari

gzzo avatar Jun 03 '21 21:06 gzzo

works for me on Firefox macOS (to test: https://mrk.sed.pl/bevy-showcase/#sprite_sheet)

mockersf avatar Jun 03 '21 21:06 mockersf

All examples working on all browsers for me.

  • Apple M1 MacBook Air
  • macOS Big Sur 11.4
  • Safari 14.1.1
  • Firefox 89.0.1
  • Chrome 91.0.4472.114

willmcpherson2 avatar Jun 22 '21 13:06 willmcpherson2