Search Unity

  1. Unity support for visionOS is now available. Learn more in our blog post.
    Dismiss Notice

Microphone.Start briefly freezes Unity application

Discussion in 'Audio & Video' started by LGolivia, Mar 24, 2017.

  1. LGolivia

    LGolivia

    Joined:
    Nov 21, 2012
    Posts:
    4
    When I call Microphone.Start, the entire application (on Win7 standalone, Unity3D 5.3.4f1) freezes for about half a second before recording starts. I tried moving it to a separate thread, but was informed that Microphone.Start could only be called from the main thread.

    Is this a known issue, or just something on my end?
     
  2. MariusRu

    MariusRu

    Joined:
    Oct 15, 2015
    Posts:
    33
    6 years later, I can only say that I experience the same problem using the Oculus Quest and there does not seem to be a good solution. I try to start the Microphone at the start of the scene to hide the freeze a little.
     
  3. israelz74

    israelz74

    Joined:
    Jan 11, 2023
    Posts:
    4
    Could you put sample code or link? Thank you !
     
  4. mpeter_nmy

    mpeter_nmy

    Joined:
    Apr 2, 2019
    Posts:
    6
    Experiencing the same with Unity 2022.3.14 + OpenXR with Oculus Quest Pro -_-
     
  5. Wim-Wouters

    Wim-Wouters

    Joined:
    Sep 26, 2012
    Posts:
    35
    indeed... same here