RenderHeads / UnityPlugin-AVProVideo

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

[macOS] Missing dll with macOS 12.1 #2046

Open Edward-Radzinski opened 1 day ago

Edward-Radzinski commented 1 day ago

Issue: I am trying to run a project on the macOS. I change the target platform in Unity to macOS, build the project, then upload the game to Steam, and after that, I try to open it on a Mac. Then, all the videos display as a black screen because it can't find the required DLL. I would like some help to understand what I can do to fix this. I've tried different codecs and various settings in AVPro, but nothing has worked.

On Windows, everything works perfectly without any issues. The problem only occurs on Mac.

Setup:

To Reproduce:

  1. Change target platform to macOS;
  2. Architecture - Intel 64-bit + Apple silicon;
  3. Development build;
  4. Upload the game to steam;
  5. Open game.

Logs: DllNotFoundException: AVProVideo assembly:(unknown assembly) type:(unknown type) member:(null)

Screenshots:

Screenshot_2024-10-17_at_22 47 48
MorrisRH commented 1 day ago

I've reproduced the issue.

The problem is a missing symbol in one of Apple's frameworks which they have fixed in a more recent release of macOS 12. The plugin works with macOS 12.6.6, however I am not sure which version prior to this the issue was corrected in.

I'm currently looking for a workaround which should hopefully make it into the next release.

Edward-Radzinski commented 1 day ago

Thank you for such a quick response, I will be waiting for further updates and news.

MorrisRH commented 1 day ago

Fixed. The fix will make it into the next release, version 3.1.1

Edward-Radzinski commented 20 hours ago

Hi! The issue has occurred again, but this time on a different device: — MacBook Air M1, OS Sequoia 15.0.1 (24A348); — AVPro Version 3.1.0.

MorrisRH commented 20 hours ago

Hi! The issue has occurred again, but this time on a different device: — MacBook Air M1, OS Sequoia 15.0.1 (24A348); — AVPro Version 3.1.0.

I'm afraid I cannot reproduce this. Tested in a fresh project using the following:

Edward-Radzinski commented 19 hours ago

Could you please let me know when the new version is expected to be released?

MorrisRH commented 1 hour ago

We're planning to release 3.1.1 at the end of the week