Search Feedback

267
votes

Audio Focus management

Audio

-

-

Unity 5.4+ always grabs AudioFocus on Android when Unity application is focused.

Ideal situation would be to give developers a control over AudioFocus feature, because players sometimes prefer to listen to their own music (like from Spotify).

Lack of this feature causes Unity games to pause other music applications any time application is being focused.

Comments (7)

  1. 609bc443c10c28ceda670b503d06ec61?d=mm

    asotelo94

    Dec 10, 2018 19:12

    Is there an update on this? I also need this feature.

  2. 52c18a0aedfb63511901909e0794f29a?d=mm

    Mukikaizoku

    Apr 17, 2017 01:22

    It appears that the issue that's causing the volume shifting on Android was fixed in Unity 5.5.2:

    "Android: Play audio from background applications at the original volume when it is not muted."

    I verified it was fixed in 5.5.3f1.

  3. 785b2fb39999495a598e9c872e8e1933?d=mm

    twaffle

    Apr 07, 2017 19:27

    Many times, users choose to disable all in game sound for whatever reason. RESPECT THAT DECISION instead of basically forcing them to be completely silent for no reason.

  4. 28fbc4438265cbacd7b78b919a9367cf?d=mm

    jongallant

    Feb 22, 2017 12:24

    I'm getting blasted on the play store because of this bug. A lot of people listen to external music while playing my game, and the shifting of volume level is pissing them off.

    Please fix this.

  5. 03624ed44fe00fa4937b936503494fa3?d=mm

    randydots

    Dec 16, 2016 05:54

    This should have a switches in Unity for us to decide the players' music should be closed or not when our APP starts.

  6. 3ef8863555bbcee0acea7731326971e8?d=mm

    o44

    Dec 14, 2016 09:49

    Many players want to listen to their own music when playing with games on their phone, and they give 1 star ratings on PlayStore if the game stops their music.

    It would be very important to fix this.

  7. Eb4762891943ab15abac38b7b3de8310?d=mm

    AsayakeTaro

    Nov 27, 2016 04:40

    Sometimes I do not want to stop the sound of other applications. Request addition of option to change setting.

Your opinion counts

Help us make things better. Share your great idea for improving Unity or vote for other people’s.

Log in to post a new idea

Categories

All

(10883)

2D

(287)

Ads

(57)

AI & Navigation

(81)

Analytics

(130)

Animation

(406)

Asset Store

(363)

Asset Store Publisher

(19)

Assets

(551)

Audio

(185)

Cloud Build

(146)

Collaborate

(67)

Docs & Tutorials

(246)

Editor

(2545)

Everyplay

(17)

Game Performance Reporting

(21)

General

(987)

Graphics

(894)

GUI

(442)

Input

(173)

Licensing

(93)

Networking

(189)

Physics

(387)

Platforms

(445)

Profiling & Optimization

(84)

Runtime

(185)

Scripting

(1141)

Terrain

(174)

WebGL

(142)