You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
At present, my environment is UE 5.2.1, which can be used normally after packing Android, but it cannot play audio in the background of Android.
I went to the UE forum and looked it up. I tried a lot of things, but it didn't work.
For example, the following method:
1.To manipulate the file:
Defaultengin.ini and BaseEngine.ini are added
[Audio]
UnfocusedVolumeMultiplier=1.0
2.UE project setting
Level Editor -> Miscellaneous -> Sound -> Allow Background Audio (tick)
3.UE BlueprintFunctionLibrary to Cpp code
UFUNCTION(BlueprintCallable, Category = "")
static float SetSUVM()
{
FApp::SetUnfocusedVolumeMultiplier(1.0f);
return FApp::GetUnfocusedVolumeMultiplier();
}
...emmm,I might need your help?
A UE(5.2.1) based music player written by me as a hobby (I will open source it on github sometime)
The text was updated successfully, but these errors were encountered:
At present, my environment is UE 5.2.1, which can be used normally after packing Android, but it cannot play audio in the background of Android.
I went to the UE forum and looked it up. I tried a lot of things, but it didn't work.
For example, the following method:
1.To manipulate the file:
Defaultengin.ini and BaseEngine.ini are added
[Audio]
UnfocusedVolumeMultiplier=1.0
2.UE project setting
Level Editor -> Miscellaneous -> Sound -> Allow Background Audio (tick)
3.UE BlueprintFunctionLibrary to Cpp code
UFUNCTION(BlueprintCallable, Category = "")
static float SetSUVM()
{
FApp::SetUnfocusedVolumeMultiplier(1.0f);
return FApp::GetUnfocusedVolumeMultiplier();
}
...emmm,I might need your help?
A UE(5.2.1) based music player written by me as a hobby (I will open source it on github sometime)
The text was updated successfully, but these errors were encountered: