I think "Allow Background Audio" is not working

I opened a thread on the forum because the audio doesn’t seem to work in a specific situation.

You can see all details here:

A user gave me a solution:

ENABLE: “Level Editor/Miscellaneous/Allow Background Audio”

But that option doesn’t seem to work (See Video Attached Here).

I think the user is right, and seem that option doesn’t work like he says it should.
In any case i cannot test the audio correctly.

If it is a bug, please fix it.

And if you know a console command to enable this option, please let me know.
It will be useful for me while the bug is fixing.

Thank you so much!!

@Ivan3z Any solution to this yet? Also could you please share the bug report

Edit (Solved)
You can either set allow background sound in the editor preferences
or
add the following to DefaultEngine.ini (project folder) or to your unreal installation BaseEngine.ini

[Audio]
UnfocusedVolumeMultiplier=1.0

This can also be added to any (other) Unreal-based game you have bought, if there’s no support for such through their options.

My case was very peculiar because I’m running two clients and I only need audio from one of them (one “game”, another is a control panel of sorts - connected by networking). To solve that additional problem, I added au.Debug.SoloAudio to commands.

1 Like

Hi @GreasyExcretion

Yes, this solution worked for me.

Than you so much for sharing your solution too. :heartbeat:

Just FYI, in case anyone else changed this setting, tried launching PIE again after, and still couldn’t hear audio from backgrounded/unfocused PIE/editor windows, you need to relaunch Unreal Editor after changing this setting in order for it to take effect when running PIE.

And if that doesn’t work for you, I also followed instructions in another post to add/edit the following setting:
UnfocusedVolumeMultiplier=1.0
Which I added under [/Script/Engine.AudioSettings] in the \Saved\Temp\Win64\PROJECTNAME\Config\DefaultEngine.ini, and under \Config\DefaultEngine.ini from the unreal project root, and also to the BaseEngine.ini under [Audio] in \Saved\Temp\Win64\Engine\Config\BaseEngine.ini

So I’m not sure if it was the Allow Background Audio setting, or the UnfocusedVolumeMultiplier=1.0 setting in the config files, but one of these worked for me after restarting UE.

1 Like

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.