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
- Texture2D hash changes inside of an AssetBundle when rebuilding a SpriteAtlas bundle with an empty AssetPostprocessor Script enabled
- Aniso Level still applies when Generate MipMap is disabled in Texture Import Settings
- Mipmap Limit Groups long names are not truncated when creating a new Mipmap Limit Group with a long name
- “ArgumentException: Invalid double parameter.” error is thrown when Infinity is typed into the Fixed Timestep field
- GameObject becomes gray when using HDRP and STP together on macOS
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)