Search Unity

  1. Megacity Metro Demo now available. Download now.
    Dismiss Notice
  2. Unity support for visionOS is now available. Learn more in our blog post.
    Dismiss Notice

Microphone not working on Unity 5.6 Beta

Discussion in 'Audio & Video' started by mschwab, Feb 24, 2017.

  1. mschwab

    mschwab

    Joined:
    Apr 7, 2014
    Posts:
    3
    Hello,

    I am currently working on a daydream project. So i updated my Unity to 5.6 Beta.

    However, the problem is that my microphone is not working on this version of Unity, even though it is working on Unity 5.5.1.

    If you create a new project and paste the following code in any component, this clearly proves that the microphone is not handled properly by Unity 5.6b:
    Code (CSharp):
    1. var d = Microphone.devices [0];
    2. Debug.Log (d); // Built-in microphone
    3. var device = Microphone.Start (d, true, 1, 48000);
    4. Debug.Log (device.channels);
    5. // 0 on Unity 5.6b
    6. // 1 on Unity 5.5.1
    7.  
    I am testing it on macbook pro.

    Is someone else having the same issue?
    Do you have any fix for this problem?

    Thanks for your help :)
     
  2. cvasquez-coiron

    cvasquez-coiron

    Joined:
    Nov 10, 2014
    Posts:
    22
    It looks like we are having a similar problem, Microphone is not working...
    Using Unty 5.6.0b11 for a Daydream app....
    Where you able to fix it?
     
  3. cvasquez-coiron

    cvasquez-coiron

    Joined:
    Nov 10, 2014
    Posts:
    22
    Found the problem.
    It looks like SkipPermissionsDialog is enabled by default in Unity Daydream builds.
    You need to explicitly disable it OR manually enable the permission in "Settings->Apps-> AppName-> Permissions"