Search Unity

Audio iOS sound not working

Discussion in 'Audio & Video' started by bartofzo, May 25, 2019.

  1. bartofzo

    bartofzo

    Joined:
    Mar 16, 2017
    Posts:
    151
    Hi,

    When testing my project on an iPhone 5S the following message gets logged to the console in XCode:

    AVAudioSessionPortImpl.mm:56:ValidateRequiredFields: Unknown selected data source for Port Speaker (type: Speaker)

    And no audio is being played back. The device is not muted or anything. Also tested on a iPhone 6 and it works there.

    iOS version on iPhone 5S is 12.0.1
    Unity version is 2018.3.13f1

    Thoughts?
     
    ligafacens likes this.