Search Issue Tracker
Won't Fix
Votes
0
Found in
2023.1.17f1
2023.2.0b14
2023.3.0a10
Issue ID
UUM-55107
Regression
No
[Android] AddUsesPermission() allows multiple identical permissions when called twice
Reproduction steps:
1. Open the attached project "ReproProj"
2. Open the “/Assets/Scenes/SampleScene.unity” Scene
3. Open the Build Settings window (File > Build Settings)
4. Click Export
5. Create and select “GradleBuild” folder
6. Open the AndroidManifest.xml (GradleBuild\unityLibrary\src\main\AndroidManifest.xml)
7. Search for the uses-permission elements named "lolkekcheburek"
Expected result: Only one uses-permission element named "lolkekcheburek" is present
Actual result: Two uses-permission elements are named “lolkekcheburek“
Reproducible with: 2023.1.17f1, 2023.2.0b14, 2023.3.0a10
Could not test with: 2021.3.31f1, 2022.3.11f1 (Assets\Scripts\Editor\ManifestExtensions.cs(2,28): error CS0234: The type or namespace name 'Manifest' does not exist in the namespace 'Unity.Android.Gradle')
Reproducible on: Windows 10 Enterprise 21H2
Not reproducible on: No other environment tested
Note:
- The issue does not reproduce when using the AddUniqueUsesPermission()
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
- Too little validation messages in the "WebAssembly Language Features" Memory settings
- Project Settings Search Highlights are misaligned when using the Bitmap Text Rendering Mode
- "GetControlID at event ValidateCommand returns a controlID different from the one in Layout event" Warning is thrown when undoing the deletion of Sprite Shape Profile
- Memory related fields in the "WebAssembly Language Features" can be set to the negative numbers
- "WebAssembly Language Features" Header in the Player Settings has a smaller indentation
Resolution Note:
Thank you for your bug report.
After reviewing the issue and the impact it has on our users our team has decided that this case will be resolved as "Won't Fix". This does not mean that the issue isn’t a legitimate bug, but instead that we are not able to prioritize the fix, at this time.
The case will now be closed, and will not be reopened unless new information arises that would change the issue’s impact. Please let us know if you have additional information relating to the severity of this bug.