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

Webp animations don't import properly on iOS #281

Open
tyler-o3h opened this issue Feb 20, 2023 · 0 comments
Open

Webp animations don't import properly on iOS #281

tyler-o3h opened this issue Feb 20, 2023 · 0 comments

Comments

@tyler-o3h
Copy link

Importing a webp animation file from the gallery using GetMixedMediaFromGallery gives you a file that can not be correctly read as a webp on ios.

This was tested using this webp plugin, which does correctly play webp files that are loaded from resources so it's unlikely the webp plugin is the issue. It also works correctly in the editor.

  • Unity version: 2021.3.14f1
  • Platform: iOS 16.2
  • Device: iPhone 11

I notice the imported file is significantly smaller than the original webp file (37kb vs 32kb when imported). From what I've read iOS could the trying to strip headers from the file, but doesn't recognize the webp type so it doesn't do this properly.

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

No branches or pull requests

2 participants