Skip to main content
Participant
February 5, 2021

Bluetooth Permissions

Hello,

I am trying to connect to a Bluetooth device on the Quest 2 through my Unity application. Whenever I launch the application I get a debug error message of not having the required Bluetooth permission. I have made sure that I include these permissions in the manifest, however it seems to not prompt for access. Is there a work around to allow Bluetooth permissions on the Quest 2?

Thanks,
Tim

    5 replies

    vartechAuthor
    Participant
    February 9, 2021
    bump
    vartechAuthor
    Participant
    February 18, 2021
    Any support at all?
    Participant
    March 24, 2021

    I also need an answer.

    New Participant
    April 22, 2021

    Hello,

    Bluetooth permission does not show a prompt, as it is not considered a "dangerous" permission in the Android OS. The reason why the permission is not granted is that since version 1.5.0 the Oculus XR Plugin removes the BLUETOOTH permission during builds: https://docs.unity3d.com/Packages/com.unity.xr.oculus@1.8/changelog/CHANGELOG.html?&_ga=2.82307798.1700548459.1619091845-340725066.1512739498#150

     

    What you have to do is either downgrade the plugin to version 1.4.3, or modify Packages/Oculus XR Plugin/Editor/OculusBuildProcessor.cs script, commenting the line #434. This line removes the BLUETOOTH permission from the manifest.

    September 8, 2023

    i have a simular problem and could solve it with the try to "pair" the special device first, even it isn't a possible device to pair. After trying, a window opened (don't remember if directly or on new try to use our unity-app) with location-rights. Allowing it works foe me.