Search Issue Tracker
Won't Fix
Votes
0
Found in [Package]
1.8.0
Issue ID
OXRB-187
Regression
Yes
[OpenXR] UnityEngine.XR.OpenXR.Features.MetaQuestSupport.MetaQuestFeature exception is outputted when Android Module is not installed and OpenXR is not selected as that XR Plugin
Steps to reproduce:
1. Open the attached project "TestVRBug.zip"
2. Make sure Android Module is not installed
3. Enter Play Mode
4. Observe error in the Console:
`MissinReferenceException: The object of type 'UnityEngine.XR.OpenXR.Features.MetaQuestSupport.MetaQuestFeature' has been destroyed but you are still tryingg to access it.`
Expected results: No exceptions are outputted when Android Module is not installed and OpenXR is not selected as that XR Plugin
Actual Results: UnityEngine.XR.OpenXR.Features.MetaQuestSupport.MetaQuestFeature exception is outputted when Android Module is not installed and OpenXR is not selected as that XR Plugin
Reproducible in: OpenXR 1.7.0 - 1.8.0 (2021.3.27f1, 2022.3.0f1, 2023.1.0b20, 2023.2.0a18)
Not reproducible in: OpenXR 1.6.0 (2021.3.27f1, 2022.3.0f1, 2023.1.0b20, 2023.2.0a18)
Environment tested on: Windows 10
Notes:
-The controller profiles get reset as well
-Issue still reproduces if XR plugin is switched from OpenXR to OculusXR
-Issue does not reproduce when removing the OpenXR plugin
-Infinite recursive package import can be accompanied when selecting OpenXR as the XR plugin
Comments (1)
-
DevDunk
Jun 09, 2023 04:32
I find this a bit weird that this won't be fixed?
So people who are never going to release on android still need to install the android module every time?
That defeats the purpose of having modules in the first place
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
- “Remove Unused Overrides” available on not loaded Scene and throws “ArgumentException: The scene is not loaded” warning
- Adaptive Probe Volume occlusion edge is calculated incorrectly when viewing probes near geometry edges
- Sampling a texture using an HLSL file throws shader errors and the code does not compile
- "Graphics.CopyTexture called with null source texture" error when Base Camera of an Overlay Camera is removed with DX11 Graphics API and Compatibility Mode enabled
- WebGL sends wrong value with large numbers when SendMessage function is used
Resolution Note:
This can be worked around by installing the Android platform and disabling OpenXR in Android settings.