OpenXRFeature.enabled cannot be changed while OpenXR is running

I keep getting this error whenever I press play when using the Oculus Integration Plugin. Does anybody know how to get rid of it? I’m like not even doing anything and it still pops up.

OpenXRFeature.enabled cannot be changed while OpenXR is running
UnityEditor.XR.OpenXR.Features.OpenXRFeatureSetManager:GetFeatureSetWithId (UnityEditor.BuildTargetGroup,string)
Meta.XR.MetaXRFeatureEnabler:EnableMetaXRFeature () (at Assets/Oculus/VR/Editor/OpenXRFeatures/MetaXRFeatureEnabler.cs:55)
UnityEditor.EditorApplication:Internal_CallUpdateFunctions () (at /Users/bokken/build/output/unity/unity/Editor/Mono/EditorApplication.cs:362)

1 Like

Which OpenXR version and which oculus integration version?

OpenXR Plugin: 1.8.2
Oculus Integration: 57.0

All the latest versions

Openxr has 1.9.1
Oculus integration has v59

So not the latest and worth a shot.

And does the error/warning have any negative effects btw?

Also I see it is an editor script. Is this in editor or at runtime?

Same error here, OpenXR 1.8.2, XRInteractioToolkit 2.5.2, happened when trying to combine the use of both Oculus controllers and hand tracking with XR Hands 1.3.0. The app seems to run normally in play mode, but the console shows this error.

Hey @JGameMaker92
We just talking with Meta, and they’re unable to reproduce this issue. Can we get more details?

to update this as of Dec 2024 this is still happening in Unity 2022.3.22 LTS with the following packages:
Meta XR Interaction SDK 69.0.2
Meta XR Core SDK 71.0
Unity OpenXR Meta 1.02
Open XR Plugin 1.9.1
XR Interaction Toolkit 2.5.4

the errors on my end after the ‘OpenXR Feature.enabled cannot be changed’ message:

UnityEditor.XR.OpenXR.Features.OpenXRFeatureSetManager:GetFeatureSetWithId (UnityEditor.BuildTargetGroup,string)
Meta.XR.MetaXRFeatureEnabler:EnableMetaXRFeature () (at ./Library/PackageCache/com.meta.xr.sdk.core@71.0.0/Editor/OpenXRFeatures/MetaXRFeatureEnabler.cs:55)

UnityEditor.EditorApplication:Internal_CallUpdateFunctions () (at /Users/bokken/build/output/unity/unity/Editor/Mono/EditorApplication.cs:362)

i haven’t filed any bug report on this, but i hope this is a bit helpful.

I got rid of this problem by disabling Mock Runtime from the OpenXR Feature Groups (Windows, MAc, Linux settings).