cancel
Showing results for 
Search instead for 
Did you mean: 

OVRAvatar android.permission.RECORD_AUDIO

Metal_Multiball
Heroic Explorer
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

1 ACCEPTED SOLUTION

Accepted Solutions

Metal_Multiball
Heroic Explorer
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

View solution in original post

1 REPLY 1

Metal_Multiball
Heroic Explorer
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