# VideoPlayer problem with Unity

**URL:** <https://qa.fmod.com/t/videoplayer-problem-with-unity/14310>\
**Category:** Unity\
**Created:** [January 18, 2019, 11:24am UTC](https://qa.fmod.com/t/videoplayer-problem-with-unity/14310 "2019-01-18T11:24:51Z")\
**Posts on this page:** 12\
**Page:** 1

<div class="post-metadata">

**Author:** ![jandusoft](https://yyz2.discourse-cdn.com/flex036/user_avatar/qa.fmod.com/jandusoft/32/102_2.png) [@jandusoft](https://qa.fmod.com/u/jandusoft)\
**Post date:** [January 18, 2019, 11:24am UTC](https://qa.fmod.com/t/videoplayer-problem-with-unity/14310/1 "2019-01-18T11:24:51Z")

</div>

Hi!,

we are trying to reproduce a video with audio using FMOD on Unity, and we haven’t be able to do it.

Has someone find a solution for that problem?

Our game have a lot of videos and we need a solution. On NintendoSwitch it’s working fine, because the Videoplayer plugin it’s from Nintendo and does not use FMOD.

---

<div class="post-metadata">

**Author:** ![HeadupMark](https://avatars.discourse-cdn.com/v4/letter/h/c37758/32.png) [@HeadupMark](https://qa.fmod.com/u/HeadupMark)\
**Post date:** [January 25, 2019, 11:09am UTC](https://qa.fmod.com/t/videoplayer-problem-with-unity/14310/2 "2019-01-25T11:09:39Z")

</div>

Hey, we had the same problem and decided to simply remove the Audio from the videos and manually play the sounds with a separate Audio file then. It works pretty fine - even though I am not sure if it might can get a bit out of sync when the video gets paused often…

---

<div class="post-metadata">

**Author:** ![jandusoft](https://yyz2.discourse-cdn.com/flex036/user_avatar/qa.fmod.com/jandusoft/32/102_2.png) [@jandusoft](https://qa.fmod.com/u/jandusoft)\
**Post date:** [January 28, 2019, 6:56am UTC](https://qa.fmod.com/t/videoplayer-problem-with-unity/14310/3 "2019-01-28T06:56:23Z")

</div>

We activated the Unity Sound, and now the video player works (we have to use a listener from unity on that scenes).

We know that using fmod & unity sound it’s not a good choice, but our game have a lot of videos and QTE games, and we don’t want to split & sync all of the audios.

---

<div class="post-metadata">

**Author:** ![abaldwin](https://avatars.discourse-cdn.com/v4/letter/a/5e9695/32.png) [@abaldwin](https://qa.fmod.com/u/abaldwin)\
**Post date:** [July 31, 2020, 5:00pm UTC](https://qa.fmod.com/t/videoplayer-problem-with-unity/14310/4 "2020-07-31T17:00:27Z")

</div>

I have the same issue, and have only been able to resolve it by enabling Unity audio as well. I am unable to find any description of why having both Unity audio and FMOD both active is a bad idea. I know it is recommended to not run both, but does anyone know what the potential bad side effects are? I want to know if I will encounter other potential issues down the road if I use this method.

---

<div class="post-metadata">

**Author:** ![cameron-fmod](https://yyz2.discourse-cdn.com/flex036/user_avatar/qa.fmod.com/cameron-fmod/32/261_2.png) [@cameron-fmod](https://qa.fmod.com/u/cameron-fmod)\
**Post date:** [August 5, 2020, 5:05am UTC](https://qa.fmod.com/t/videoplayer-problem-with-unity/14310/5 "2020-08-05T05:05:33Z")

</div>

The problem is that Unity uses an older version of FMOD for its built in audio and some platforms do not work with two audio systems trying to use the same resources.

---

<div class="post-metadata">

**Author:** ![nzgreg](https://yyz2.discourse-cdn.com/flex036/user_avatar/qa.fmod.com/nzgreg/32/972_2.png) [@nzgreg](https://qa.fmod.com/u/nzgreg)\
**Post date:** [August 9, 2020, 2:33am UTC](https://qa.fmod.com/t/videoplayer-problem-with-unity/14310/6 "2020-08-09T02:33:03Z")

</div>

hi Cameron,

is there an easy/recommended way to play video with audio in Unity when using FMOD with the built-in FMOD disabled? Or does the audio need to be stripped out and manually played/synced with the video?

Thanks for any tips.

---

<div class="post-metadata">

**Author:** ![cameron-fmod](https://yyz2.discourse-cdn.com/flex036/user_avatar/qa.fmod.com/cameron-fmod/32/261_2.png) [@cameron-fmod](https://qa.fmod.com/u/cameron-fmod)\
**Post date:** [August 10, 2020, 10:26pm UTC](https://qa.fmod.com/t/videoplayer-problem-with-unity/14310/7 "2020-08-10T22:26:22Z")

</div>

After some intestigating it looks like the only platform that _requires_ the built-in Unity audio to be disabled is Xbox One, for other platforms it is recommended to save resources (unless it is required).

---

<div class="post-metadata">

**Author:** ![nzgreg](https://yyz2.discourse-cdn.com/flex036/user_avatar/qa.fmod.com/nzgreg/32/972_2.png) [@nzgreg](https://qa.fmod.com/u/nzgreg)\
**Post date:** [August 11, 2020, 5:19am UTC](https://qa.fmod.com/t/videoplayer-problem-with-unity/14310/8 "2020-08-11T05:19:36Z")

</div>

hey Cameron, thanks for the info.

So, without another perhaps more complex solution to play and sync video with FMOD audio, using Unity’s internal audio system to play back video with audio might be the way to go.

---

<div class="post-metadata">

**Author:** ![cameron-fmod](https://yyz2.discourse-cdn.com/flex036/user_avatar/qa.fmod.com/cameron-fmod/32/261_2.png) [@cameron-fmod](https://qa.fmod.com/u/cameron-fmod)\
**Post date:** [August 11, 2020, 10:58pm UTC](https://qa.fmod.com/t/videoplayer-problem-with-unity/14310/9 "2020-08-11T22:58:21Z")

</div>

> [@nzgreg](#):
>
> So, without another perhaps more complex solution to play and sync video with FMOD audio, using Unity’s internal audio system to play back video with audio might be the way to go.

Basically yes otherwise you would have to go down the route of stripping the audio from the video, playing it through FMOD and keeping it in sync manually.

---

<div class="post-metadata">

**Author:** ![nzgreg](https://yyz2.discourse-cdn.com/flex036/user_avatar/qa.fmod.com/nzgreg/32/972_2.png) [@nzgreg](https://qa.fmod.com/u/nzgreg)\
**Post date:** [August 11, 2020, 11:09pm UTC](https://qa.fmod.com/t/videoplayer-problem-with-unity/14310/10 "2020-08-11T23:09:55Z")

</div>

Thanks, Cameron. Sounds like a dance to avoid where possible 🙂

---

<div class="post-metadata">

**Author:** ![Onat](https://avatars.discourse-cdn.com/v4/letter/o/5f8ce5/32.png) [@Onat](https://qa.fmod.com/u/Onat)\
**Post date:** [December 1, 2021, 3:36pm UTC](https://qa.fmod.com/t/videoplayer-problem-with-unity/14310/11 "2021-12-01T15:36:19Z")

</div>

Sorry to bring this up again, but since we are going to port our Project to XBox as well, we aren’t able to use the built in audio system for Videos, how could I sync audio played from FMod to video inside Unity? I guess it would actually make sense if you would deliver a replacement (or at least example code) for Unitys Video player to achieve this (similar to how fmod event components replace Unitys audio sources)

Thank you & best wishes

---

<div class="post-metadata">

**Author:** ![cameron-fmod](https://yyz2.discourse-cdn.com/flex036/user_avatar/qa.fmod.com/cameron-fmod/32/261_2.png) [@cameron-fmod](https://qa.fmod.com/u/cameron-fmod)\
**Post date:** [December 9, 2021, 12:23am UTC](https://qa.fmod.com/t/videoplayer-problem-with-unity/14310/12 "2021-12-09T00:23:38Z")

</div>

> [@Crash Fmod + UnitySound on XboxOne](https://qa.fmod.com/t/crash-fmod-unitysound-on-xboxone/14023/4):
>
> You will need to keep them in sync manually because the audio and the video will be running on different clocks. Normally you will want to sync the video to the audio so that the audio doesn’t drop any frames. There are some callbacks you can use to help determine when the event starts playing and you can also get the current timeline position of the playing event. [http://www.fmod.org/questions/question/i-have-separated-a-video-clip-from-its-audio-how-to-make-sure-they-play-in-sync/](http://www.fmod.org/questions/question/i-have-separated-a-video-clip-from-its-audio-how-to-make-sure-they-play-in-sync/)
