Search Unity

Discussion OpenXRFeature.enabled cannot be changed while OpenXR is running

Discussion in 'VR' started by JGameMaker92, Nov 11, 2023.

  1. JGameMaker92

    JGameMaker92

    Joined:
    Oct 15, 2014
    Posts:
    96
    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)
     
    HunterProduction likes this.
  2. DevDunk

    DevDunk

    Joined:
    Feb 13, 2020
    Posts:
    5,057
    Which OpenXR version and which oculus integration version?
     
  3. JGameMaker92

    JGameMaker92

    Joined:
    Oct 15, 2014
    Posts:
    96
    OpenXR Plugin: 1.8.2
    Oculus Integration: 57.0

    All the latest versions
     
  4. DevDunk

    DevDunk

    Joined:
    Feb 13, 2020
    Posts:
    5,057
    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?
     
  5. HunterProduction

    HunterProduction

    Joined:
    Sep 11, 2020
    Posts:
    7
    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.