Search Issue Tracker
By Design
Votes
0
Found in
2020.3
2020.3.17f1
2021.1
2021.2
2022.1
Issue ID
1359289
Regression
No
Build process succeeds when building without Bluetooth Usage Description while using Bluetooth methods in Project
Behavior for Bluetooth Permissions should be the same as Camera Permissions - if you're using Camera methods and its Usage Description field is not filled, the Build process fails
To reproduce:
1. Download the attached "testBluetooth.zip" project and open it in Unity
2. Open "main" scene
3. In Project settings observe that the Bluetooth Usage Description field isn't filled
4. Build and Run
Expected results: Build process fails because Bluetooth Usage Description is not filled
Actual result: Build process succeeds and Player crashes
Notes:
- On Unity 2020.3.16f1 and older https://issuetracker.unity3d.com/issues/big-sur-crash-on-abort-with-payload-in-build-when-asking-for-bluetooth-permissions was reproducible (No Bluetooth Usage Description was present)
Reproduced on Unity 2020.3.17f1, 2021.1.18f1, 2021.2.0b9 and 2022.1.0a5
Add comment
All about bugs
View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.
Latest issues
- [Android]Resources fail to load when the AAB build contains a large Addressables Bundle
- Unity is loading internal version of SharpZipLib instead of local version
- The Context Menu items are ordered incorrectly
- Audio Mixer does not change volume when lowering volume on an Audio Mixer loaded from AssetBundles
- Error “Value cannot be null. Parameter name: key UnityEngine.GUIUtility:ProcessEvent (int,intptr,bool&)” thrown and Addressables build fails when "Include in Build" is disabled and using Addressables For Android package
Resolution Note:
If it is solely used in plugins, we have no way to detect that bluetooth is used. In this case, the developer will need to make sure they've filled in the description. Otherwise this crash will happen