Forum Discussion

🚨 This forum is archived and read-only. To submit a forum post, please visit our new Developer Forum. 🚨
TheLovelyBee's avatar
TheLovelyBee
Honored Guest
5 years ago

How to set up mic input correctly in Unreal?

Hello!

I'm currently working on my final year project for Uni and need to access the microphone in the Quest 2. I've found the AudioCapture component and assigned a submix to it and then I'm recording this input which is then played back through the headset. When using the VR Preview it does exactly what I expect, I can hear myself through the headset audio and can then hear the recording play back once it's complete too, however the problem is when I try to launch it onto the device instead, nothing happens, and no sound occurs. I've put in print strings to make sure the blueprints are still being run through, which they are, but no audio is present. I'm unsure as to what could be causing this. Any help would be much appreciated.

5 Replies

  • chrixbed's avatar
    chrixbed
    Honored Guest

    Hi, I found that in UE4.27 there is a permission setting in Project Setting->Platforms Android -> Advanced APK Packaging -> Add Permission to Support Voice Chat (RECORD_AUDIO) = True.

     

    I think that is required to be able to use the Mic Input through Audio Capture. Unfortunately, I can find a way to acknowledge that permission as a Developer Mode in my Quest 2, anyone managed to make this work?

  • Dingenonma's avatar
    Dingenonma
    Expert Protege

    Hola!

    I have been searching intensively about this subject, and there's no clear answer. Please, can somebody with knowledge let us know how to properly set the mic to simply hear the audio?

    I found this thread:

    Microphone not working on Quest 2 - Development / Audio - Epic Developer Community Forums (unrealengine.com)

     

    And I tried and couldn't make it work. 

    I just want to get the mic input into my game, inside unreal it works very easily, but once it's packed, even if I checked all the Android permisions... it doesn't work 😞

     

    Thanks in advance

    • Dingenonma's avatar
      Dingenonma
      Expert Protege

      This forum is one of the most lonely places in internet...