Forum Discussion

Hexapuss_Steve's avatar
Hexapuss_Steve
Heroic Explorer
6 years ago
Solved

OVRAvatar android.permission.RECORD_AUDIO

My game's build is now requesting android.permission.RECORD_AUDIO without me wanting to.

This issue was solved a while ago in the Oculus Unity Integration by not selecting 'can own microphone' from the OvrAvatar script in the Unity editor, but my app is now requesting android.permission.RECORD_AUDIO.   
Unity Oculus Integration 16.0
Unity 2019.3.14

What is the best practice to remove android.permission.RECORD_AUDIO?

Thanks,
Steve Hinan - Metal Multiball

  • Here is my solution to avoid the permission request for android.permission.RECORD_AUDIO

    OVRAvatar - Removed all references to the UnityEngine.Microphone. There is a lot to comment out in this script.

    I also deleted the following files:
    Oculus\Platform\Scripts\MicrophoneInput.cs
    Oculus\Platform\Scripts\MicrophoneInputNative.cs
    'Oculus\LipSync\Scripts\OVRLipSyncMicInput.cs

1 Reply

  • Here is my solution to avoid the permission request for android.permission.RECORD_AUDIO

    OVRAvatar - Removed all references to the UnityEngine.Microphone. There is a lot to comment out in this script.

    I also deleted the following files:
    Oculus\Platform\Scripts\MicrophoneInput.cs
    Oculus\Platform\Scripts\MicrophoneInputNative.cs
    'Oculus\LipSync\Scripts\OVRLipSyncMicInput.cs