I
am developing a VisioPro application that requires Bluetooth function and needs to receive signals from external devices via Bluetooth in Unity6 with "Metal Rendering with Compositor Services".I have supplemented my info.plist file with the following line: <key>Privacy-BluetoothAlwaysUsageDescription</key> <string>Uses BLE to communicate with devices.</string> Despite this, when I launch the app on VisionPro, the prompt to use Bluetooth does not appear. What could be the issue? What additional settings do I need to configure to enable Bluetooth usage?
How did we do? We’d love to know your thoughts on this year’s conference. Take the survey here
VisionOS-The prompt to use Bluetooth does not appear app developed by Unity6 with metal rendering
Despite this, when I launch the app on VisionPro, the prompt to use Bluetooth does not appear. What could be the issue? What additional settings do I need to configure to enable Bluetooth usage?
Just to verify the basic, are you calling into CoreBluetooth? CoreBluetooth does the authorization UI on it's own, but it does so when you initialize the manager (CBCentralManager or CBPeripheralManager). Until one of the managers starts up, nothing actually happens on the authorization side.
__
Kevin Elliott
DTS Engineer, CoreOS/Hardware
Thanks for your apply.I think it's probably because the unity BLE plugin I'm using is not compatible with VisionOS, it's only compatible with iOS so it doesn't work. I'd like to ask if you have any recommended methods to initialize the manager?