Game audio goes Mute for incoming call/sms and charger connection

Sound goes Mute for incoming call/sms and charger connection for Unity games. For unmute, i have to restart the app.

I have handled all interruptions with Unity’s OnApplicationPause(). This one handles for other devices like Android, iOS.

Is it any Tizen native issue or settings? Tizen store team is rejecting all of my apps for this issue. Any idea guys?

What version of unity are you using?

Unity 5.2.2f1.

That was supposed to have been fixed in 5.2.2. Could you try with 5.2.4? Perhaps the fix got backed out by accident for 5.2.2.

Not solved with Unity 5.2.4f1.

I’m using Tizen SDK 2.3, OSX 10.11.

I am unable to reproduce this, could you provide a small project to help me out here?

1 Like

Thanks but could you create a small source project that I could use? Thanks!

sorry. here it is.
https://drive.google.com/file/d/0B34Ar7u93rDUZlpEQWNPNTNaOWM/view?usp=sharing

Oh yuck. It seems that this only affects Tizen 2.3. It works as expected on 2.4. I’ll investigate.

Unity 5.3.x is too buggy, else i would try with Tizen 2.4.

If I build using tizen sdk 2.4, will the app work on Tizen 2.3 running devices?

Yes, absolutely but backwards compatibility was only added in the latest 2.4 sdk.

Ok, it turns out that there is a fix already available for this. However it is in Unity 5.3.

Now, there is a problem with Tizen in 5.3. All apps crash on launch, but this weeks patch release will resolve that issue.

Seems to be fixed so far. Thanks Masterfalcon.
Issue solved with:
Unity 5.3.2p2
Tizen 2.4 rev2 in windows and rev3 in mac.

I think it makes sense to re-use this thread since my error case is exactly the same.

Behaviour:
When plugging your phone to a charger, all sound of the unity game is completely muted until you kill and restart the app.

Details:

  • Unity version: 5.3.5f1
  • target device: Samsung Galaxy S6
  • can be reproduced reliably: no

Repro Case:
I’m afraid I don’t have a reliable repro case. It seems to happen when connecting your phone to a windows PC (8.1) to charge while an mp3 is played - at that moment, all sound of the game is permanently gone (volume sliders are still up on Android) until you kill and restart the app. Happened yesterday, tried to reproduce it today but to no avail. Will update the post as soon as I find out anything helpful.

You might want to repost this in the Android section. This thread applies to just Tizen devices. The Android developers are unlikely to see it here but I’ll let them know.