Open
Description
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.