RenderHeads / UnityPlugin-AVProVideo

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

[iOS] - Video not playing in simulator builds #1951

Closed deepakag123 closed 1 month ago

deepakag123 commented 1 month ago

Please DO NOT LINK / ATTACH YOUR PROJECT FILES HERE

Describe the issue Testing AVPro in my project using IOS simulator. Core mobile edition

I only included the demo scene for testing. Unticked all other scenes.

On the simulator i get a blank screen.

On Xcode i am seeing a EXC_BAD_ACCESS message.

Tried reimporting and still shows same error.

Your Setup (please complete the following information):

Screenshots attached. Error

Screenshot 2024-07-20 at 22 30 09 Screenshot 2024-07-21 at 12 26 49 Screenshot 2024-07-21 at 12 26 21 Screenshot 2024-07-21 at 12 25 08 Screenshot 2024-07-21 at 12 25 23 Screenshot 2024-07-21 at 12 25 39 Screenshot 2024-07-21 at 12 25 48 Screenshot 2024-07-21 at 12 25 59 Screenshot 2024-07-21 at 12 26 07
Chris-RH commented 1 month ago

So its a new project, running only a demo scene? Which one? Does it play in mac editor? Have you tested it on an actual iOS device? Which version of xcode are you using?

MorrisRH commented 1 month ago

I'm unable to reproduce this using Unity 2021.3.40f1, AVPro Video 3.0.7 Core Mobile, Xcode 15.4.

deepakag123 commented 1 month ago

Answers below

So its a new project, running only a demo scene? Which one? This is an existing project that I have where I have added AVPro . However, for testing , I have just excluded all the other scenes and only playing the Demo_MediaPlayer scene. See screenshot.

Does it play in mac editor? Yes, its playing on a mac editor.

Have you tested it on an actual iOS device? No, only tested on simulator.

Which version of xcode are you using? Version 15.2

Note that when I use a standalone new project, its working on the simulator. Its not working when I use it in my existing project. ![Uploading Screenshot 2024-07-22 at 17.15.18.png…]()

deepakag123 commented 1 month ago
Screenshot 2024-07-22 at 17 15 18
Chris-RH commented 1 month ago

Its difficult to know what's happening if it doesn't work in your project, but works when built on its own. Are you able to make a simplified project that reproduces the issue (ie not your whole project, but whatever you have to do to the one that works to cause the same issue)? You can send it to unitysupport@renderheads.com

MorrisRH commented 1 month ago

@deepakag123 thanks for the sample project. I was able to reproduce the crash and think I have a solution which will make it into the next release. Please let us know if it solves the problem for you.

Chris-RH commented 1 month ago

AVPro Video version 3.0.8 has been released. Please can you let us know if it has not fixed your issue.

deepakag123 commented 1 month ago

Thank you for the quick response. It works fine now.

deepakag123 commented 1 month ago

thanks.