Search Issue Tracker
Fixed in 1.9.1
Votes
1
Found in [Package]
1.5.0
Issue ID
1324976
Regression
No
[Android][XR] Build fails when targeting API lower than 26 with "incompatible types View cannot be converted to ViewGroup"
Repro steps:
1. Create a new project
2. Add XR Plug-in Management package
3. Add the Oculus XR Plugin
4. Switch build target to Android
5. Set target API Level to < 26
6. Attempt to build the project
Actual: Build fails with "OculusUnity.java:26: error: incompatible types: View cannot be converted to ViewGroup"
Reproducible with: 2019.4.24f1, 2020.3.3f1, 2021.1.1f1, 2021.2.0a11
Comments (1)
-
egutentag
Oct 23, 2022 19:56
Still happens is 1.12.1, build api 23 and unity version 2020.3.29f1.
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
- [macOS] Project fails to load when Virtual Artifacts are Corrupted
- Long scheduler times on main thread when using InstantiateAsync with a singular massive Prefab
- The project hangs upon opening it when importing the "discrete_rank2_vector_v2_0.onnx" file
- Opening the Look Dev hangs the Editor when the window is opened for the first time in the project or after deleting the Library folder
- Look Dev has blurry icons on 4k monitors
Resolution Note (fix version 1.9.1):
Fixed Oculus Android build error (error: incompatible types: View cannot be converted to ViewGroup) when Target API level sets to lower than 26. Fix will be included in the next Oculus XR Plugin 1.9.1.