Exception when attempting to play video with audio (Error executing createResult)

Hello!

I’m currently trying to debug an issue where I can’t play audio from an MP4 in a VideoPlayer component or previewing it in the inspector.

When I attempt to preview the video in the inspector, it plays the video but not the audio and I get this exception in the console:

C:\build\output\unity\unity\Modules\Audio\Public\AudioSampleProviderChannel.cpp(143) : Error executing createResult (An invalid object handle was used. )

Just in case it was an issue with the video I’m using, I’ve attempted another random MP4 and I get the same issue.

Please help!

Unity version 2021.3.14f1
FMOD version 2.03

Update:

I haven’t found a solution to this. My only guess was there was some compatibility issue with FMOD. So I decided to export the audio separately from the video and then play the audio via FMOD. This seems to get around the issue, even though it isn’t ideal.