I’ve been having the same problem and have worked around it by restarting the audio in OnApplicationPause().
Although this allows the sound to play once the game is again activated, I am still seeing Error initializing AudioSession(errNO:1768843636) in the Xcode console. Does anybody know if this error message is something that can be ignored (at least until a definitive solution is found), and will it cause problems in the application approval process?
There was a previous thread on this - I posted a bug but it was closed - don’t know what the current status is…
But basically you have to restart any sound as Zulu says.
Hopefully it’s a minor error
I also have this problem, but when I comment “bNeedToRestoreIPhoneAudioSession = true;” on applicationWillEnterForeground method in AppController file, it works and resume music when I resume the application. But I’m not sure is this right?
and sometimes will get log: MP _playbackInterruptionDidEndNotification :: NSConcreteNotification 0xaab0a0 {name = AVController_PlaybackInterruptionDidEndNotification; object = ; userInfo = { “AVController_InterruptionStatusNotificationParameter” = “non-resumable.SoloAmbientSound”; “AVController_InterruptorNameNotificationParameter” = “AudioSession-4241”; }}, _state = 0
test on iPod3 32g + iOS 4.2.1 + iPhone SDK 4.2 + Unity 3.1.0f4(55865)