Search Unity

  1. Welcome to the Unity Forums! Please take the time to read our Code of Conduct to familiarize yourself with the forum rules and how to post constructively.
  2. Dismiss Notice

Bug Linux editor Audio Addressable Assets Unsupported for iOS builds

Discussion in 'Addressables' started by OrioliBublar, Oct 20, 2020.

  1. OrioliBublar

    OrioliBublar

    Joined:
    Jun 28, 2017
    Posts:
    5
    WAV/OGG files report an unknown file type errors in the scriptable build pipeline/addressables when building for iOS on Linux.

    When the addressable system reaches an OGG/WAV file during the build stage, an error is thrown e.g:
    Cannot recognize file type for entry located at 'Assets/Ambience_ExteriorRoomtone2DOgg.ogg'. Asset import failed for using an unsupported file type.​

    This error always gets thrown inside the Linux editor when building for iOS, but it succeeds when building for Android. A project reproducing this can be found here:

    And an example of the failure can be found here:

    Also, a curious thing is that this exception being thrown is caught by the scriptable build pipeline which causes failing builds to continue.

    A bug has been filed on FogBugz, but I would love to see the root cause explained as it might influence the work being done on our internal CI systems.
     
  2. OrioliBublar

    OrioliBublar

    Joined:
    Jun 28, 2017
    Posts:
    5
    Further info, the error appears to happen when the compression setting is MP3, it works with Vorbis.
     
  3. TreyK-47

    TreyK-47

    Unity Technologies

    Joined:
    Oct 22, 2019
    Posts:
    1,796
    Hey there! Thanks for the bug report! Happy to flag this with the team for you too, and will pass along any insight they have.
     
    OrioliBublar likes this.