Search Issue Tracker
Fixed in 1.12.0
Votes
0
Found in [Package]
1.11.2
Issue ID
1390427
Regression
No
[Oculus XR] Oculus Loader script is forcing minimum the Android SDK version to be set to 23
Oculus Loader script is forcing the minimum Android SDK version to be set to 23 even if it has been set higher in the Player Settings
Reproduction steps:
1. Create a new project
2. Add Oculus XR Plugin package in the Package Manager
3. In the Packages->Oculus XR Plugin->Runtime folder open OculusLoader.cs script
4. Search for "SetAndroidMinSdkVersion()" function
5. Inspect the conditional statement inside the function checking if PlayerSettings.Android.minSdkVersion != AndroidSdkVersions.AndroidApiLevel23
6. Inspect If clause PlayerSettings.Android.minSdkVersion = AndroidSdkVersions.AndroidApiLevel23;
Expected result: Oculus Loader script is checking if the Android minimum SDK version set in Player Settings is not lower than Android API Level 23
Actual result: Oculus Loader script is checking if the Android minimum SDK version set in Player Settings is not equal to Android API Level 23
Reproducible with: 1.9.2 (2019.4.36f1), 1.11.2 (2019.4.36f1, 2020.3.30f1, 2021.2.14f1, 2022.1.0b10, 2022.2.0a6)
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
- "Shader warning in 'Hidden/Light2D': implicit truncation of vector type" is thrown when building Universal 2D template
- AI Assistant breaks compilation of packages using System.Runtime.CompilerServices.Unsafe via auto-referencing
- Unity Hub checks the "Documentation" module by default on the 6.4 and 6.5 streams despite that it was unchecked with the previous installs
- Shortcut that toggles between Dopesheet and Curves Views in the Animation Window's Timeline is mislabed
- Property List Items Overlap onto the Property List's top edge when scrolling through a long Property List
Resolution Note (fix version 1.12.0):
Fixed in: 1.12.0 (available from 2019.4.15f1 and up), 2.0.0-preview.5 (2020.3.21f1 and up), and 3.0.0 (2021.2.0f1 and up)