[EDIT SOLVED, SEE BELOW]
HI. I am also encountering this same issue on UE 5.0.3 and I have not clue how to fix it.
Running on Windows 10, Version 21H2, Build 19044.2006
The problem happens as follows:
I have created a fresh Third Person Sample and when the character is running or jumping, there is no sound. I have also tried with the First Person Sample and the sound works there but only when shooting.
Real-time volume is set to max
In the settings i have the Enable Game Sound
and Enable Editor Sounds
checked
The submixes in the project settings, properly show up as green or orange
The unreal editor shows up in the windows Volume Mixer and it is not muted
I have installed the latest directx end-user runtime and it still doesnt work
Below lines are present in the WindowsEngine.ini
AudioDeviceModuleName=XAudio2
; Defining below allows switching to audio mixer using -audiomixer commandline
AudioMixerModuleName=AudioMixerXAudio2
Like the user lantz.anna_1 , the same output log shows for me as well, so XAudio2 seems to be fine
I have a Realtek audio driver. I have tried to update it to the latest version and it did not work. I then tried to completely uninstall it and let windows reinstall it but it still doesn’t work.
I tried to press the Verify UE5 button but after it finished, the issue is still there
At this point my only option is to fully wipe Unreal Engine and Epic Games Launcher and reinstall both. If someone can help with this issue it would be great
EDIT:
I found the cause of the problem. For more context, i was creating an actor that has a Media Sound Component attached to it. I needed a lot of these actors, so i created each of them in the Construct
(via blueprints) and then in some delegate i was setting up the Media Player
for each Media Sound Component
.
Now the plot twist is the following. If you create more than 30 of these Media Sound Components
, the sound will stop playing (even if they are not bound to any media player). The solution was to create the Media Sound Component
only when i need to play some sound and then explicitly remove it when I am done with the sound.
Also i mentioned above that the sound was not working in the Third Person Sample
example. I dont know how this got fixed, it just suddenly started to work after i found the fix for those 30 Media Sounds Components
. However they are separate projects so i dont understand how did that fix it.
Hopefully this info will help others as well