Forum Discussion
vartech
5 years agoExplorer
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 p...
andriuspa
4 years agoHonored Guest
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.
Quick Links
- Horizon Developer Support
- Quest User Forums
- Troubleshooting Forum for problems with a game or app
- Quest Support for problems with your device
Other Meta Support
Related Content
- 2 years ago
- 10 months ago