Search Unity

  1. We are migrating the Unity Forums to Unity Discussions. On July 12, the Unity Forums will become read-only.

    Please, do not make any changes to your username or email addresses at id.unity.com during this transition time.

    It's still possible to reply to existing private message conversations during the migration, but any new replies you post will be missing after the main migration is complete. We'll do our best to migrate these messages in a follow-up step.

    On July 15, Unity Discussions will become read-only until July 18, when the new design and the migrated forum contents will go live.


    Read our full announcement for more information and let us know if you have any questions.

Audio Capturing from a Microphone Array errors in all Unity versions

Discussion in 'Audio & Video' started by bhermer, Mar 19, 2020.

  1. bhermer

    bhermer

    Joined:
    Jun 24, 2013
    Posts:
    28
    Hi, we have an app in production, which is now having issues with some of the newer laptops which use a mic array, unity (tried latest up to 2019.3.3) doesnt recognise the array and gives an "Unsupported file or audio format" error

    Plugging in a usb mic works fine, but this isnt a solution for our customers.

    Any ideas please?

    Thanks
     
    Twyker likes this.
  2. Twyker

    Twyker

    Joined:
    Nov 10, 2016
    Posts:
    12
  3. andorfy

    andorfy

    Joined:
    Oct 12, 2015
    Posts:
    24
    Hello,
    Same happend in our project. Did you found any solution?
    We tried different versions of Unity (from 2018 to 2020), and we experiencing the issue only with the "XMOS 8 channel microphone array".
     
  4. bhermer

    bhermer

    Joined:
    Jun 24, 2013
    Posts:
    28
    Never did, we ended up having to tell our customers to use UBS mics a real pain
     
  5. andorfy

    andorfy

    Joined:
    Oct 12, 2015
    Posts:
    24
    Thanks for the info. I think we shold do the same.
     
  6. Jelling

    Jelling

    Joined:
    Jan 27, 2013
    Posts:
    6
    +1 with the same issue for a Mic Array. Unity, any chance of fixing this bug or at least providing a work-around?
     
  7. r618

    r618

    Joined:
    Jan 19, 2009
    Posts:
    1,319
    Submit bugreports to UT with the issue, they won't care otherwise
    / although I know it's kind of pointless, submit project with the report - they prioritize report with projects attached - include e.g. simple Microphone script nevertheless / and your HW description

    If you want you can check out demo app of my asset (link in the signature) meanwhile to check if your HW works with it
    - it uses newer/latest version of FMOD which is compatible with wider range of HW than older Unity's one.
     
    Last edited: Apr 2, 2021
  8. lazylukey

    lazylukey

    Joined:
    May 26, 2017
    Posts:
    36
    +1 effecting our users in production on Unity 2019.4.28f1
     
  9. clankill3r

    clankill3r

    Joined:
    Oct 19, 2017
    Posts:
    5
    +1 And I can't believe that this problem is so many years old...
     
  10. Rafael_CS

    Rafael_CS

    Joined:
    Sep 16, 2013
    Posts:
    163
    Lol, same here, microphone array of my laptop is unsupported
     
  11. Rk601

    Rk601

    Joined:
    Oct 9, 2018
    Posts:
    2
    This appears to still be an issue I am using unity 2022.1.3f1
     
  12. SeventhString

    SeventhString

    Unity Technologies

    Joined:
    Jan 12, 2023
    Posts:
    461
    Hi folks!
    I know for a fact that someone is actually working on this. I can't give any ETA on this, but it's definitely in the oven. We have a very small team working on audio hardware & platform bugs and features.
    While some may interpret these comments as discontent, I read them as enthusiasm and passion.
    Be certain that we're well aware of Unity's audio issues, and that we're doing our best to, eventually, fix all the bugs :cool:
     
    BATTLEKOT likes this.
  13. ThalesRARV

    ThalesRARV

    Joined:
    Apr 6, 2021
    Posts:
    12
    Hello @SeventhString,
    Just checking if you had any news on this topic since last year ?

    Cheers!
     
  14. ThalesRARV

    ThalesRARV

    Joined:
    Apr 6, 2021
    Posts:
    12
    Just checked the release notes, perhaps it has been fixed in 2022.3.3, 2023.1.1 and 2021.3.28 :

    Windows: Fixed a bug with multi-channel audio input on Windows. If we tried to capture from a microphone with more than 2 channels, Microphone.Start would fail and an "Unsupported file or audio format" error would appear in the console. (UUM-26565)

    I'll try to confirm this later.
     
    lazylukey likes this.
  15. ThalesRARV

    ThalesRARV

    Joined:
    Apr 6, 2021
    Posts:
    12
    Hi, better later than never, I can confirm that this issue was fixed in Unity 2022 (using 2022.3.17).
    Thanks!
     
    SeventhString likes this.