Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

sprite sheets don't work on macOS browsers #43

Open
gzzo opened this issue Jun 3, 2021 · 4 comments
Open

sprite sheets don't work on macOS browsers #43

gzzo opened this issue Jun 3, 2021 · 4 comments

Comments

@gzzo
Copy link

gzzo commented Jun 3, 2021

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

@mockersf
Copy link
Contributor

mockersf commented Jun 3, 2021

Probably related to #20.

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

@gzzo
Copy link
Author

gzzo commented Jun 3, 2021

Confirming that this works on:

  • Windows Chrome and Firefox

But does not work on:

  • macOS Chrome, Firefox, and Safari

@gzzo gzzo changed the title sprite sheets don't work sprite sheets don't work on macOS browsers Jun 3, 2021
@mockersf
Copy link
Contributor

mockersf commented Jun 3, 2021

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

@willmcpherson2
Copy link

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants