Error initializing AudioSession(errNO:1768843636) with Unity3.1 on iPad 4.2.1

Deal all,

I get this error, when i press the home button on the iPad while my game is running, when i go back to the game, i get it.

Error initializing AudioSession(errNO:1768843636)

and the audio disappear !!!
but the sound effects play just fine, however when a new scene is loaded the music plays just fine again…

Any ideas ?

I have the same problem.

audio disappear

but no Error.

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?

Thanks.

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)