Search Unity

  1. Unity 2019.1 beta is now available.
    Dismiss Notice
  2. The Unity Pro & Visual Studio Professional Bundle gives you the tools you need to develop faster & collaborate more efficiently. Learn more.
    Dismiss Notice
  3. We're looking for insight from anyone who has experience with game testing to help us better Unity. Take our survey here. If chosen to participate you'll be entered into a sweepstake to win an Amazon gift card.
    Dismiss Notice
  4. Want to provide direct feedback to the Unity team? Join the Unity Advisory Panel.
    Dismiss Notice
  5. Unity 2018.3 is now released.
    Dismiss Notice
  6. Improve your Unity skills with a certified instructor in a private, interactive classroom. Watch the overview now.
    Dismiss Notice

Audio not playing through Bluetooth Headphones on iOS

Discussion in 'iOS and tvOS' started by saschka, Aug 20, 2018.

  1. saschka

    saschka

    Joined:
    May 24, 2014
    Posts:
    3
    Hi all,

    I've been trying to figure this out but can't seem to get a handle on it nor am I finding anything that solves it on the unity or Xcode forums.

    Here's the situation : I've created a simple iOS app in unity that plays sounds from mp3's attached to audiosources that are set to be spacial and move around us.

    I've published the app through xcode and everything seems to run fine, the sounds play perfectly through the speakers or through headphones if they connected via a wire.

    But when I try to use bluetooth headphones the audio doesn't play through them, it just keeps playing through the speakers.

    I tested the bluetooth headphones and they and the connection to the phone work in iOS and in other apps. It is just my app that seem to just not want to pipe the audio into the bluetooth headphones.

    Any idea what this could be? Is it unity or xcode? I can't make heads or tails of it since weeks.

    Thank you all so much,
    Saschka
     
  2. AMA_MR

    AMA_MR

    Joined:
    Mar 23, 2018
    Posts:
    17
  3. saschka

    saschka

    Joined:
    May 24, 2014
    Posts:
    3
    That fixed it for me, thank you! (With Unity 2018.2.6f1 and Xcode 9.4.1)

    Though I wish bluetooth audio would just work out of the box from Unity, I mean having to dive into xCode is kinda absurd...