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

Package: OpenXR 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

  1. Resolution Note:

    This can be worked around by installing the Android platform and disabling OpenXR in Android settings.

Comments (1)

  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

Log in to post comment

All about bugs

View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.