Hi,
Do you know why Unity stops every other running audio (like music players, etc) when it launches on android?
Is there a way to fix this or bypass it somehow?
Thanks.
Hi,
Do you know why Unity stops every other running audio (like music players, etc) when it launches on android?
Is there a way to fix this or bypass it somehow?
Thanks.
Is there a special reason why you want this?
Is this not normal on Android? (Serious, im a Android noob)
Its seems this is a standard behaviour: you can have only one app playing sound at the same time. Though it seems the app can have some control:
But I have no idea whether that is exposed in Unity.
Many people want to listen to their own music when they play games on their phone.
Most of the games out there (which are probably not made with Unity) can handle this and music keeps playing when the games are launched and both the game’s sounds and the music is audible, so it’s not something impossible to ask for.
Still, Unity does not seem to have an option for this for Android.
There is already a feature request for this issue:
https://feedback.unity3d.com/suggestions/audio-focus-management
Maybe you should vote it up.
@ericbegue : Thanks, I gave it all 10 of my votes.
Isn’t there a workaround for this issue though at the moment? An asset maybe?
If you can’t find anything, your last resort would be to write a native plugin (either in C/C++ or Java) to control this setting.