Skip to content

Webp animations don't import properly on iOS #281

Open
@tyler-o3h

Description

@tyler-o3h

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.

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions