Hi,
I am facing a weird issue. While playing the game if I click on some ad, or perform a home button or power button interrupt and then return to the game, I see Sometimes randomly all the game audio (music & sfx) stops.
Either I re-launch the game or I perform the interrupt again 1-2 times, then it again starts playing.
I performed some debug gui text on screen to test this issue. And the result was just weird.
The debug information mentioned me
- name = “xyz” music file is currently playing by "abc’ audio source
- audio source volume = 1.0
- audio source enabled = true
- audio source loop = true
- audio source ispaused = false
- audio listener volume = 1.0
- audio listener enabled = true
According the debug information, the music is playing normally with full volume. But actually there is no music playing in the game. And the device hardwared button audio level was also full. I am currently using Unity 4.5.5 and ipad 3 ios 8.1.1 and ipod touch 5 ios 8.1. building from xcode 6.1.
I think the Audio engine within unity, shuts down completely and resume on re-interrupt.
Can anybody faced this issue before, any solution or suggestion?
Thanks.