RenderHeads / UnityPlugin-AVProVideo

AVPro Video is a multi-platform Unity plugin for advanced video playback
https://www.renderheads.com/products/avpro-video/
235 stars 28 forks source link

Android Video Display Not Rendering #100

Closed zabbott closed 5 years ago

zabbott commented 5 years ago

Describe the bug I have been using AVProVideo for a while now, and just got hit with a bug in which the videos I play through the Mediaplayer component in conjunction with the Display UGUI component don't render on android devices. I tried this with your default demo scene in an otherwise empty project and had the same issue. Further information: Audio is playing! I can hear everything, but no visuals.

Your Setup (please complete the following information):

To Reproduce

  1. Sorry this isn't super detailed, but I just set up the Media Player and the UGui Component and get no video playing on builds. Works fine in editor.

Logs If applicable, add error logs to help explain your problem.

Screenshots If applicable, add screenshots to help explain your problem.

Videos If applicable, add a copy of your video or the URL

Please DO NOT LINK / ATTACH YOUR PROJECT FILES HERE

Instead email the link to us unitysupport@renderheads.com

Ste-RH commented 5 years ago

Would it be possible to post the logcat output?

zabbott commented 5 years ago

Here it is. Let me know if its the right format or if there's anything else you need. First time using Logcat output. This was built to my android s9 and is an empty unity project save your guys package, and I'm using your 04_Demo_UGui scene. Audio is playing but the attached image is all that appears Screenshot For Github

Logcat.pdf

Ste-RH commented 5 years ago

Thanks. Do you have an issue playing back in other ways, or is it just via UGUI?

Ste-RH commented 5 years ago

Here is the interesting line in your logcat:

2019/07/02 11:56:27.863 21122 21139 Info Unity: [AVProVideo] Initialising AVPro Video (script v1.9.17 plugin v1.9.17) on Adreno (TM) 630/Vulkan 1.1.66 [512.331.0] (MT True) on Android

AVPro does not currently support Vulkan. Try setting the Graphics API to OpenGLES3. Find this under:

Build Settings->Player Settings->Other Settings->Rendering

It may be set to auto currently, just un-tick this ('Auto Graphics API') and remove Vulkan from the list that appears.

zabbott commented 5 years ago

We are up and running! Thank you so much! Hadn't ever played with Graphics API settings too much so would have never thought to look at that. Thanks!