screenglow screenglow - 1 year ago 324
iOS Question

Easy Movie Texture plays in Unity editor but not on device. What am I missing?

We're using the Easy Movie Texture asset from the asset store and we are trying to play embedded mp4 files on an iPhone 7 device. It works fine with streaming URLs but once I tried to actually Load() an mp4 file it response very unhelpfully:

[prepareAsset]Error: Item cannot be played
Unknown error 0

Is there any special gotchas anyone has seen with the difference between playing in editor and on an iOS device?

Answer Source

The issue ended up being the bitrate. Once we encoded the videos with Adobe instead of ffmpeg, it the videos seemed to work fine.

Recommended from our users: Dynamic Network Monitoring from WhatsUp Gold from IPSwitch. Free Download