Search Unity

  1. Megacity Metro Demo now available. Download now.
    Dismiss Notice
  2. Unity support for visionOS is now available. Learn more in our blog post.
    Dismiss Notice

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

Discussion in 'Tizen' started by S_P, Jan 26, 2016.

  1. S_P

    S_P

    Joined:
    Sep 20, 2014
    Posts:
    55
    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?
     
  2. Masterfalcon

    Masterfalcon

    Unity Technologies

    Joined:
    Dec 29, 2014
    Posts:
    364
    What version of unity are you using?
     
  3. S_P

    S_P

    Joined:
    Sep 20, 2014
    Posts:
    55
    Unity 5.2.2f1.
     
  4. Masterfalcon

    Masterfalcon

    Unity Technologies

    Joined:
    Dec 29, 2014
    Posts:
    364
    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.
     
  5. S_P

    S_P

    Joined:
    Sep 20, 2014
    Posts:
    55
    Not solved with Unity 5.2.4f1.

    I'm using Tizen SDK 2.3, OSX 10.11.
     
  6. Masterfalcon

    Masterfalcon

    Unity Technologies

    Joined:
    Dec 29, 2014
    Posts:
    364
    I am unable to reproduce this, could you provide a small project to help me out here?
     
    S_P likes this.
  7. Masterfalcon

    Masterfalcon

    Unity Technologies

    Joined:
    Dec 29, 2014
    Posts:
    364
    Thanks but could you create a small source project that I could use? Thanks!
     
  8. S_P

    S_P

    Joined:
    Sep 20, 2014
    Posts:
    55
  9. Masterfalcon

    Masterfalcon

    Unity Technologies

    Joined:
    Dec 29, 2014
    Posts:
    364
    Oh yuck. It seems that this only affects Tizen 2.3. It works as expected on 2.4. I'll investigate.
     
  10. S_P

    S_P

    Joined:
    Sep 20, 2014
    Posts:
    55
    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?
     
  11. Masterfalcon

    Masterfalcon

    Unity Technologies

    Joined:
    Dec 29, 2014
    Posts:
    364
    Yes, absolutely but backwards compatibility was only added in the latest 2.4 sdk.
     
  12. Masterfalcon

    Masterfalcon

    Unity Technologies

    Joined:
    Dec 29, 2014
    Posts:
    364
    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.
     
  13. S_P

    S_P

    Joined:
    Sep 20, 2014
    Posts:
    55
    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.
     
  14. RobinBGbanga

    RobinBGbanga

    Joined:
    Oct 20, 2014
    Posts:
    16
    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.
     
  15. Masterfalcon

    Masterfalcon

    Unity Technologies

    Joined:
    Dec 29, 2014
    Posts:
    364
    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.