Wayback Machinekoobas.hobune.stream
May JUN Jul
Previous capture 12 Next capture
2021 2022 2023
1 capture
12 Jun 22 - 12 Jun 22
sparklines
Close Help
  • Products
  • Solutions
  • Made with Unity
  • Learning
  • Support & Services
  • Community
  • Asset Store
  • Get Unity

UNITY ACCOUNT

You need a Unity Account to shop in the Online and Asset Stores, participate in the Unity Community and manage your license portfolio. Login Create account
  • Blog
  • Forums
  • Answers
  • Evangelists
  • User Groups
  • Beta Program
  • Advisory Panel

Navigation

  • Home
  • Products
  • Solutions
  • Made with Unity
  • Learning
  • Support & Services
  • Community
    • Blog
    • Forums
    • Answers
    • Evangelists
    • User Groups
    • Beta Program
    • Advisory Panel

Unity account

You need a Unity Account to shop in the Online and Asset Stores, participate in the Unity Community and manage your license portfolio. Login Create account

Language

  • Chinese
  • Spanish
  • Japanese
  • Korean
  • Portuguese
  • Ask a question
  • Spaces
    • Default
    • Help Room
    • META
    • Moderators
    • Topics
    • Questions
    • Users
    • Badges
  • Home /
  • Help Room /
avatar image
6
Question by Sempe4 · Aug 22, 2016 at 01:45 PM · androidsoundmusic

Android app stops background music

My android app made with unity 5.3.6 pausing background music. I start play music with some player on my android device, but when I launch my app, after splash screen that music stops, and only music from the game starts and continue playing. This happens on different devices. How to solve this problem?

Comment
Add comment
10 |3000 characters needed characters left characters exceeded
▼
  • Viewable by all users
  • Viewable by moderators
  • Viewable by moderators and the original poster
  • Advanced visibility
Viewable by all users

6 Replies

· Add your reply
  • Sort: 
avatar image
4

Answer by Racsoth · Nov 22, 2016 at 03:40 PM

Breaking news: the issue is fixed in 5.4.3f1. Now, in PlayerSettings (Android) you'll find a checkbox named "Mute Other Audio Sources". If unchecked, the game won't stop external audio when run. I've tried it and it works (haven't checked it yet with the checkbox checked).

I'm still missing, however, a way to "duck" the external audio when some audio from the game plays (so the external audio volume is lowered, then the game audio plays with full volume and finally the external audio volume is restored). If someone finds about that little piece of the puzzle, we'd finally be done with this :)

Comment
Add comment · Show 1 · Share
10 |3000 characters needed characters left characters exceeded
▼
  • Viewable by all users
  • Viewable by moderators
  • Viewable by moderators and the original poster
  • Advanced visibility
Viewable by all users
avatar image Vinicios-de-Lima-Clarindo · Dec 25, 2016 at 05:53 PM 0
Share

Yep Exactly

avatar image
1

Answer by nesta219 · Aug 26, 2016 at 04:16 PM

I have this problem as well. Been looking for a solution but no luck so far.

Comment
Add comment · Show 5 · Share
10 |3000 characters needed characters left characters exceeded
▼
  • Viewable by all users
  • Viewable by moderators
  • Viewable by moderators and the original poster
  • Advanced visibility
Viewable by all users
avatar image Sempe4 · Aug 29, 2016 at 08:09 AM 0
Share

Here is some update, looks like fixed, have you tried? https://issuetracker.unity3d.com/issues/apps-without-audio-stop-the-external-audio-sources-on-android

avatar image nesta219 Sempe4 · Aug 31, 2016 at 04:28 PM 0
Share

It says fixed in 5.3.7 but I'm still getting the issue in 5.4.*

avatar image Vinicios-de-Lima-Clarindo nesta219 · Sep 10, 2016 at 04:05 AM 0
Share

I have the same problem...

avatar image Racsoth · Sep 13, 2016 at 05:29 PM 0
Share

Same problem here. If anyone finds a solution, please post it here. Thanks.

avatar image Racsoth · Sep 13, 2016 at 05:31 PM 0
Share

I forgot to mention: this happened after I updated to Unity 5.4.0f3. I was using an older version until yesterday, and the problem was the inverse: if Android music was playing when I ran my game, the game wouldn't play any audio.

avatar image
1

Answer by Vinicios-de-Lima-Clarindo · Sep 13, 2016 at 08:08 PM

HI peoples in Update 5 beta 3 (5.5.0b3) this issue has been fixed im using and testing the new loading image changer its amazing

@Racsoth @nesta219 @Sempe4

Comment
Add comment · Show 4 · Share
10 |3000 characters needed characters left characters exceeded
▼
  • Viewable by all users
  • Viewable by moderators
  • Viewable by moderators and the original poster
  • Advanced visibility
Viewable by all users
avatar image Racsoth · Sep 13, 2016 at 09:36 PM 0
Share

Thanks a lot for the heads up. Just in case you have time to test: what if you play a sound in unity while Android music is playing? Does the music "duck" (volume goes down, then the sound plays and then volume goes up again), or does it simply plays at the same time that the background?

avatar image macpatel · Sep 20, 2016 at 03:10 AM 0
Share

@Racsoth @nesta219 @Sempe4 @Vinicios-de-Lima-Clarindo

I installed latest 5.5.0B4 build but issue is not resolved. Did any of you were able to resolve this.

avatar image Racsoth macpatel · Sep 20, 2016 at 03:10 PM 0
Share

I haven't tried updating yet, as I want to bring my project to a stable status before risking breaking something when updating to a beta version. $$anonymous$$aybe I can try to install the beta update in parallel with my current Unity version, but I've never done that before (sounds easy, but given how frameworks sometimes break over anything, I'm pretty conservative with them).

avatar image macpatel · Sep 24, 2016 at 03:34 PM 0
Share

@Vinicios-de-Lima-Clarindo Hey can you confirm man ?

avatar image
1

Answer by techshaman · Oct 27, 2016 at 03:27 PM

Any update on this? This question is a bit old, doesn't have an answer, and I am running into this issue on the latest version of Unity (5.4.2)

To reiterate, by default it appears the opening my android app will pause any music playing in the background (from Spotify, for example). Is there a way to prevent this from happening?

Comment
Add comment · Show 1 · Share
10 |3000 characters needed characters left characters exceeded
▼
  • Viewable by all users
  • Viewable by moderators
  • Viewable by moderators and the original poster
  • Advanced visibility
Viewable by all users
avatar image nesta219 · Oct 27, 2016 at 08:49 PM 1
Share

I have not yet been able to resolve this issue, unfortunately. I will absolutely update this post if I do find the solution.

avatar image
1

Answer by JustBecauseGames · Nov 03, 2016 at 03:53 PM

I have the same issue. Hoping a solution is found! This is a pretty big deal for me as I would like to allow the user to play music while using my app.

Comment
Add comment · Share
10 |3000 characters needed characters left characters exceeded
▼
  • Viewable by all users
  • Viewable by moderators
  • Viewable by moderators and the original poster
  • Advanced visibility
Viewable by all users
  • 1
  • 2
  • ›

Your answer

Hint: You can notify a user about this post by typing @username

Up to 2 attachments (including images) can be used with a maximum of 524.3 kB each and 1.0 MB total.

Follow this Question

Answers Answers and Comments

107 People are following this question.

avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image

Related Questions

Unity Sound Glitched up (in 2D) 0 Answers

Sound Game (wave) 0 Answers

spectrum of microphone 0 Answers

Detect notes playing with microphone 0 Answers

Unity Android no sound 0 Answers


Enterprise
Social Q&A

Social
Subscribe on YouTube social-youtube Follow on LinkedIn social-linkedin Follow on Twitter social-twitter Follow on Facebook social-facebook Follow on Instagram social-instagram

Footer

  • Purchase
    • Products
    • Subscription
    • Asset Store
    • Unity Gear
    • Resellers
  • Education
    • Students
    • Educators
    • Certification
    • Learn
    • Center of Excellence
  • Download
    • Unity
    • Beta Program
  • Unity Labs
    • Labs
    • Publications
  • Resources
    • Learn platform
    • Community
    • Documentation
    • Unity QA
    • FAQ
    • Services Status
    • Connect
  • About Unity
    • About Us
    • Blog
    • Events
    • Careers
    • Contact
    • Press
    • Partners
    • Affiliates
    • Security
Copyright © 2020 Unity Technologies
  • Legal
  • Privacy Policy
  • Cookies
  • Do Not Sell My Personal Information
  • Cookies Settings
"Unity", Unity logos, and other Unity trademarks are trademarks or registered trademarks of Unity Technologies or its affiliates in the U.S. and elsewhere (more info here). Other names or brands are trademarks of their respective owners.
  • Anonymous
  • Sign in
  • Create
  • Ask a question
  • Spaces
  • Default
  • Help Room
  • META
  • Moderators
  • Explore
  • Topics
  • Questions
  • Users
  • Badges