# No sound in shipping build when playing video in Media Player

**URL:** <https://forums.unrealengine.com/t/no-sound-in-shipping-build-when-playing-video-in-media-player/302474>\
**Category:** Cinematics & Media\
**Tags:** unreal-engine, question\
**Created:** [December 26, 2014, 8:01am UTC](https://forums.unrealengine.com/t/no-sound-in-shipping-build-when-playing-video-in-media-player/302474 "2014-12-26T08:01:39Z")\
**Posts on this page:** 20\
**Page:** 1

<div class="post-metadata">

**Author:** ![\_h2o](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@\_h2o](https://forums.unrealengine.com/u/_h2o)\
**Post date:** [December 26, 2014, 8:01am UTC](https://forums.unrealengine.com/t/no-sound-in-shipping-build-when-playing-video-in-media-player/302474/1 "2014-12-26T08:01:39Z")

</div>

I have no sound in shipping build x32 when playing video file in Media Player. Video stream looks fine, but with no sound. Video have sound only when playing in editor. Development x64 build also have no sound too.  
All tested in 4.6.1

---

<div class="post-metadata">

**Author:** ![anonymous\_user\_6e7b421a](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@anonymous\_user\_6e7b421a](https://forums.unrealengine.com/u/anonymous_user_6e7b421a)\
**Post date:** [December 29, 2014, 7:59pm UTC](https://forums.unrealengine.com/t/no-sound-in-shipping-build-when-playing-video-in-media-player/302474/2 "2014-12-29T19:59:44Z")

</div>

Hello _h2o_,

When attempting to play the sound for your Media Player asset, have you made sure to create an Audio Media Asset?

Keep in mind the Media Player feature is still in early development and is not quite production ready, so you may experience some undesired results.

The documentation’s page for Media Framework can be found at the link provided. It gives you some helpful information on the current status of this feature as well as ways to implement it into your game.

**Media Framework Documentation**

> **[Media Framework](https://docs.unrealengine.com/5.1/en-US/media-framework-in-unreal-engine/)**
>
> Working with Media Playback functionality in Unreal Engine.

**Audio Media Asset Information**

 ![25134-mediasound.png](https://d3kjluh73b9h9o.cloudfront.net/original/4X/3/f/3/3f356120d6ce161881f130934ec4d4bf3712dbe8.png)

If you have exhausted all of your options, and still are unable to get the sound working for your Media Player Asset, let me know and we can investigate further.

Cheers,

---

<div class="post-metadata">

**Author:** ![\_h2o](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@\_h2o](https://forums.unrealengine.com/u/_h2o)\
**Post date:** [December 29, 2014, 9:53pm UTC](https://forums.unrealengine.com/t/no-sound-in-shipping-build-when-playing-video-in-media-player/302474/3 "2014-12-29T21:53:36Z")

</div>

Tnx for answer. As I said earlier - it works fine when I am playing in editor. Issue hapens only with cooked build

---

<div class="post-metadata">

**Author:** ![Rammstein](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Rammstein](https://forums.unrealengine.com/u/Rammstein)\
**Post date:** [January 6, 2015, 2:21am UTC](https://forums.unrealengine.com/t/no-sound-in-shipping-build-when-playing-video-in-media-player/302474/4 "2015-01-06T02:21:34Z")

</div>

I can confirm that audio only works in the editor, it does not work after the projects gets built. Is it possible to provide a timeline for a bugfix?

---

<div class="post-metadata">

**Author:** ![\_h2o](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@\_h2o](https://forums.unrealengine.com/u/_h2o)\
**Post date:** [January 13, 2015, 5:14am UTC](https://forums.unrealengine.com/t/no-sound-in-shipping-build-when-playing-video-in-media-player/302474/5 "2015-01-13T05:14:18Z")

</div>

**AndrewHurley** , did you try to build shipping project and test audio there?

---

<div class="post-metadata">

**Author:** ![anonymous\_user\_f4075eb6](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@anonymous\_user\_f4075eb6](https://forums.unrealengine.com/u/anonymous_user_f4075eb6)\
**Post date:** [February 18, 2015, 4:47pm UTC](https://forums.unrealengine.com/t/no-sound-in-shipping-build-when-playing-video-in-media-player/302474/6 "2015-02-18T16:47:35Z")

</div>

Hi Andrew,

Any hint about where we should look to fix this?

---

<div class="post-metadata">

**Author:** ![anonymous\_user\_f4075eb6](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@anonymous\_user\_f4075eb6](https://forums.unrealengine.com/u/anonymous_user_f4075eb6)\
**Post date:** [February 18, 2015, 10:30pm UTC](https://forums.unrealengine.com/t/no-sound-in-shipping-build-when-playing-video-in-media-player/302474/7 "2015-02-18T22:30:22Z")

</div>

The solution involves some C++.

MediaSoundWave.h :

Under “virtual void Serialize( FArchive& Ar ) override;”, add this declaration:

virtual void PostLoad() override;

In MediaSoundWave.cpp, add the function:

void UMediaSoundWave::PostLoad()  
{  
InitializeTrack();  
Super::PostLoad();  
}

And modifiy also HandleMediaPlayerMediaChanged, at the end of the file:

void UMediaSoundWave::HandleMediaPlayerMediaChanged()  
{  
PostLoad();  
}

Hope this help,

---

<div class="post-metadata">

**Author:** ![gmpreussner\_1](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@gmpreussner\_1](https://forums.unrealengine.com/u/gmpreussner_1)\
**Post date:** [March 24, 2015, 4:22pm UTC](https://forums.unrealengine.com/t/no-sound-in-shipping-build-when-playing-video-in-media-player/302474/8 "2015-03-24T16:22:08Z")

</div>

Thanks 3dids, we fixed this in the Master branch. Our fix is similar. It did not make it into 4.7, but it will be in 4.8:

```
void UMediaSoundWave::PostLoad()
{
	Super::PostLoad();

	if (!HasAnyFlags(RF_ClassDefaultObject) && !GIsBuildMachine)
	{
		InitializeTrack();
	}
}

void UMediaSoundWave::HandleMediaPlayerMediaChanged()
{
	InitializeTrack();
}

```

This will also fix the cooking of media sound waves in packaged builds.

---

<div class="post-metadata">

**Author:** ![cart](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@cart](https://forums.unrealengine.com/u/cart)\
**Post date:** [April 10, 2015, 8:18am UTC](https://forums.unrealengine.com/t/no-sound-in-shipping-build-when-playing-video-in-media-player/302474/9 "2015-04-10T08:18:20Z")

</div>

It is great.  
After add the code ,my sound is ok now. Btw,the version of ue is 4.7.3.

---

<div class="post-metadata">

**Author:** ![Jenova723](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Jenova723](https://forums.unrealengine.com/u/Jenova723)\
**Post date:** [January 28, 2016, 1:46pm UTC](https://forums.unrealengine.com/t/no-sound-in-shipping-build-when-playing-video-in-media-player/302474/10 "2016-01-28T13:46:41Z")

</div>

Sorry for bumping this post, but I am facing a similar problem in 4.10.2 build, this piece of code is already present in this build and I can’t find any other solution. I have tried working with different format files, but to no success. In the end I am currently splitting my file into a video file and an audio file and triggering them together, but this causes sync issues. Any Suggestions on what I should do to get the Media Sound Wave working in packaged build?

P.S. Everything works fine in the editor.

---

<div class="post-metadata">

**Author:** ![anonymous\_user\_6e7b421a](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@anonymous\_user\_6e7b421a](https://forums.unrealengine.com/u/anonymous_user_6e7b421a)\
**Post date:** [February 1, 2016, 3:07pm UTC](https://forums.unrealengine.com/t/no-sound-in-shipping-build-when-playing-video-in-media-player/302474/11 "2016-02-01T15:07:35Z")

</div>

Hey all,

This issue is still occurring in all major releases and still being investigated. It has been backlogged as of late, and the bug number associated with the issue is **[UE-12185](https://issues.unrealengine.com/issue/UE-12185)**. I have increased community interest on the report to get a more traction on the issue, but currently resources are dedicated elsewhere.

Once it has been addressed and officially fixed, it will be integrated into a major full release or hotfix. We will then update the release notes to reflect the integration and add it to the list of known and fixed issues. This is why I have provided the bug number so you can search to see if the issue has been fixed within the relative release.

Cheers,

---

<div class="post-metadata">

**Author:** ![AlanEdwardes](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/alanedwardes/32/876747_2.png) [@AlanEdwardes](https://forums.unrealengine.com/u/AlanEdwardes)\
**Post date:** [February 15, 2016, 2:48pm UTC](https://forums.unrealengine.com/t/no-sound-in-shipping-build-when-playing-video-in-media-player/302474/12 "2016-02-15T14:48:47Z")

</div>

Hi,

Would like to express interest in seeing a fix for this, we’re also seeing the issue in shipping builds for 4.10.

Thanks 🙂

---

<div class="post-metadata">

**Author:** ![gmpreussner\_1](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@gmpreussner\_1](https://forums.unrealengine.com/u/gmpreussner_1)\
**Post date:** [February 15, 2016, 7:32pm UTC](https://forums.unrealengine.com/t/no-sound-in-shipping-build-when-playing-video-in-media-player/302474/13 "2016-02-15T19:32:19Z")

</div>

We’re working on a fix right now. Won’t be in until 4.12 though.

---

<div class="post-metadata">

**Author:** ![AlanEdwardes](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/alanedwardes/32/876747_2.png) [@AlanEdwardes](https://forums.unrealengine.com/u/AlanEdwardes)\
**Post date:** [February 15, 2016, 7:34pm UTC](https://forums.unrealengine.com/t/no-sound-in-shipping-build-when-playing-video-in-media-player/302474/14 "2016-02-15T19:34:39Z")

</div>

Cool good to know! Thanks for the update.

---

<div class="post-metadata">

**Author:** ![Lebofly](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Lebofly](https://forums.unrealengine.com/u/Lebofly)\
**Post date:** [February 29, 2016, 12:59am UTC](https://forums.unrealengine.com/t/no-sound-in-shipping-build-when-playing-video-in-media-player/302474/15 "2016-02-29T00:59:25Z")

</div>

Can confirm this issue is still present, the audio file is working in the editor but not in the packaged build. 32 and 64bit

---

<div class="post-metadata">

**Author:** ![anonymous\_user\_6e7b421a](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@anonymous\_user\_6e7b421a](https://forums.unrealengine.com/u/anonymous_user_6e7b421a)\
**Post date:** [February 29, 2016, 4:19pm UTC](https://forums.unrealengine.com/t/no-sound-in-shipping-build-when-playing-video-in-media-player/302474/16 "2016-02-29T16:19:45Z")

</div>

Please see Max P. comment below my answer. He responds and says this is expected to be fixed in 4.12.

Thanks,

---

<div class="post-metadata">

**Author:** ![Jenova723](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Jenova723](https://forums.unrealengine.com/u/Jenova723)\
**Post date:** [June 27, 2016, 11:09am UTC](https://forums.unrealengine.com/t/no-sound-in-shipping-build-when-playing-video-in-media-player/302474/17 "2016-06-27T11:09:42Z")

</div>

I just installed 14.12 to check if the issue was fixed but now the audio won’t play even in the editor. It works in the editor at least in 14.10 release.

---

<div class="post-metadata">

**Author:** ![anonymous\_user\_6e7b421a](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@anonymous\_user\_6e7b421a](https://forums.unrealengine.com/u/anonymous_user_6e7b421a)\
**Post date:** [June 27, 2016, 3:36pm UTC](https://forums.unrealengine.com/t/no-sound-in-shipping-build-when-playing-video-in-media-player/302474/18 "2016-06-27T15:36:42Z")

</div>

This issue is still marked as unresolved. Once the issue has been addressed by our engineers, the fix will be added to the release notes for fixed issues within an upcoming full engine or hotfix release.

Let me know if you have further questions or need additional assistance.

Thanks,

---

<div class="post-metadata">

**Author:** ![anonymous\_user\_2c1da4f0](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@anonymous\_user\_2c1da4f0](https://forums.unrealengine.com/u/anonymous_user_2c1da4f0)\
**Post date:** [November 10, 2016, 5:58pm UTC](https://forums.unrealengine.com/t/no-sound-in-shipping-build-when-playing-video-in-media-player/302474/19 "2016-11-10T17:58:03Z")

</div>

I’m currently on 4.13.2 and the issue still remains. I tried the fix posted by gmpreussner here but InitializeTrack() doesn’t seem to exist anymore. Is there another workaround that I can use?

---

<div class="post-metadata">

**Author:** ![anonymous\_user\_6e7b421a](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@anonymous\_user\_6e7b421a](https://forums.unrealengine.com/u/anonymous_user_6e7b421a)\
**Post date:** [November 10, 2016, 6:57pm UTC](https://forums.unrealengine.com/t/no-sound-in-shipping-build-when-playing-video-in-media-player/302474/20 "2016-11-10T18:57:14Z")

</div>

The issue has moved to a Backlogged state currently. You can see this by going to the link I have updated in my answer.

I can inquire as to to the workaround and see if we can figure out an alternative solution.

Thank you,
