[XR-MetaQuestXR] Build not working with AR Foundation and Unity OpenXR Meta

Hello! I’m having trouble trying to figure out why I do get this error message when i launch my build

MissingMethodException: Default constructor not found for type UnityEngine.XR.OpenXR.Features.Meta.MetaOpenXRCameraSubsystem+MetaOpenXRProvider

This only happens when I use the Meta Quest Features Group from the XR Plug-in Management and enable all the Meta Quest AR related features, and my game build gets stuck on the loading screen (the one with the three dots when you launch an app), if i don’t use them the game build runs fine.
These are the logs I have:

11:43:18.612 Unity [Subsystems] Cardboard successfully registered Provider for CardboardInput
11:43:18.613 Unity [Subsystems] Cardboard successfully registered Provider for CardboardDisplay
11:43:18.613 Unity [Subsystems] OpenXR XR Plugin successfully registered Provider for OpenXR Display
11:43:18.613 Unity [Subsystems] Cardboard successfully registered Provider for CardboardInput
11:43:18.613 Unity [Subsystems] Cardboard successfully registered Provider for CardboardDisplay
11:43:18.613 Unity [Subsystems] OpenXR XR Plugin successfully registered Provider for OpenXR Input
11:43:18.613 Unity [Subsystems] OpenXR XR Plugin successfully registered Provider for OpenXR Display
11:43:18.639 Unity [XR] XR_META_performance_metrics: Attempted to stop before session ready
11:43:18.639 OpenXR ------------ xrDestroyInstance [start] -----------
11:43:18.640 TREX Shutting down system...
11:43:18.721 Unity [Subsystems] Loading plugin UnityOpenXR for subsystem OpenXR Input...
11:43:18.725 Unity MissingMethodException: Default constructor not found for type UnityEngine.XR.OpenXR.Features.Meta.MetaOpenXRCameraSubsystem+MetaOpenXRProvider
11:43:18.725 Unity at System.RuntimeType.CreateInstanceMono (System.Boolean nonPublic, System.Boolean wrapExceptions) [0x00000] in <00000000000000000000000000000000>:0
11:43:18.725 Unity at System.Activator.CreateInstance (System.Type type, System.Boolean nonPublic, System.Boolean wrapExceptions) [0x00000] in <00000000000000000000000000000000>:0
11:43:18.725 Unity at UnityEngine.SubsystemsImplementation.SubsystemDescriptorWithProvider`2[TSubsystem,TProvider].CreateProvider () [0x00000] in <00000000000000000000000000000000>:0
11:43:18.725 Unity at UnityEngine.SubsystemsImplementation.SubsystemDescriptorWithProvider`2[TSubsystem,TProvider].Create () [0x00000] in <00000000000000000000000000000000>:0
11:43:18.725 Unity at UnityEngine.XR.Management.XRLoaderHelper.CreateSubsystem[TDescriptor,TSubsystem] (System.Collections.Generic.List`1[T] descriptors, System.String id) [0x00000] in <00000000000000000000000000000000>:0
11:43:18.725 Unity at UnityEngine.XR.OpenXR.Feat
11:43:18.730 Unity [XR] [532130122096] [11:43:18.729][Info ]
11:43:18.730 Unity
11:43:18.730 Unity ==== Start Unity OpenXR Diagnostic Report ====
11:43:18.730 Unity
11:43:18.730 Unity
11:43:18.730 Unity [XR] [532130122096] [11:43:18.730][Info ] ==== Report Reason: System Shutdown ====
11:43:18.730 Unity
11:43:18.730 Unity
11:43:18.730 Unity [XR] [532130122096] [11:43:18.730][Info ] ==== OpenXR Provider Info ====
11:43:18.730 Unity [XR] [532130122096] [11:43:18.730][Info ]
11:43:18.730 Unity [XR] [532130122096] [11:43:18.730][Info ] Spec Version: 1.0.29
11:43:18.730 Unity [XR] [532130122096] [11:43:18.730][Info ] Provider Version: 1.10.0
11:43:18.730 Unity [XR] [532130122096] [11:43:18.730][Info ] App: TestMR 
11:43:18.730 Unity [XR] [532130122096] [11:43:18.730][Info ] Engine: 2022.3.30f1 
11:43:18.730 Unity [XR] [532130122096] [11:43:18.730][Info ]
11:43:18.730 Unity [XR] [532130122096] [11:43:18.730][Info ] ==== OpenXR Runtime Info ====
11:43:18.730 Unity [XR] [532130122096] [11:43:18.730][Info ]
11:43:18.730 Unity [XR] [532130122096] [11:43:18.730][Info ] Features requested to be enabled: (9)
11:43:18.730 Unity [XR] [532130122096] [11:43:18.730][Info ] Meta Quest Support: Version=1.0.0, Company="Unity", Extensions="XR_OCULUS_android_initialize_loader"
11:43:18.730 Unity [XR] [532130122096] [11:43:18.730][Info ] Meta Quest Touch Pro Controller Profile: Version=0.0.1, Company="Unity", Extensions="XR_FB_touch_controller_pro"
11:43:18.730 Unity [XR] [532130122096] [11:43:18.730][Info ] Meta Quest: AR Anchors: Version=0.1.0, Company="Unity Technologies", Extensions="XR_FB_spatial_entity"
11:43:18.730 Unity [XR] [532130122096] [11:43:18.730][Info ] Meta Quest: AR Camera (Passthrough): Version=0.1.0, Company="Unity Technologies", Extensions="XR_FB_passthrough XR_FB_composition_layer_alpha_blend"
11:43:18.730 Unity [XR] [532130122096] [11:43:18.730][Info ] Meta Quest: AR Plane Detection: Version=0.1.0, Company="Unity Technologies", Extensions="XR_FB_spatial_entity XR_FB_spatial_entity_query XR_FB_spatial_entity_storage XR_FB_scene"
11:43:18.730 Unity [XR] [532130122096] [11:43:18.730][Info ] Meta Quest: AR Raycasts: Version=0.1.0, Company="Unity Technologies"
11:43:18.730 Unity [XR] [532130122096] [11:43:18.730][Info ] Meta Quest: AR Session: Version=0.1.0, Company="Unity Technologies", Extensions="XR_FB_scene_capture"
11:43:18.730 Unity [XR] [532130122096] [11:43:18.730][Info ] Meta Quest: Display Utilities: Version=0.1.0, Company="Unity Technologies", Extensions="XR_FB_display_refresh_rate"
11:43:18.730 Unity [XR] [532130122096] [11:43:18.730][Info ] Oculus Touch Controller Profile: Version=0.0.1, Company="Unity"
11:43:18.730 Unity [XR] [532130122096] [11:43:18.730][Info ]
11:43:18.730 Unity [XR] [532130122096] [11:43:18.730][Info ] Requested feature extensions not supported by runtime: (1)
11:43:18.730 Unity [XR] [532130122096] [11:43:18.730][Info ] XR_OCULUS_android_initialize_loader: Feature="Meta Quest Support": Version=1.0.0, Company="Unity"
11:43:18.730 Unity [XR] [532130122096] [11:43:18.730][Info ]
11:43:18.730 Unity [XR] [532130122096] [11:43:18.730][Info ] Available Runtime Extensions: (91)
11:43:18.730 Unity [XR] [532130122096] [11:43:18.730][Info ] XR_KHR_android_create_instance: Version=3
11:43:18.730 Unity [XR] [532130122096] [11:43:18.730][Info ] XR_KHR_android_surface_swapchain: Version=4
11:43:18.730 Unity [XR] [532130122096] [11:43:18.730][Info ] XR_KHR_android_thread_settings: Version=6
11:43:18.730 Unity [XR] [532130122096] [11:43:18.730][Info ] XR_FB_android_surface_swapchain_create: Version=1
11:43:18.730 Unity [XR] [532130122096] [11:43:18.730][Info ] XR_KHR_opengl_es_enable: Version=8
11:43:18.730 Unity [XR] [532130122096] [11:43:18.730][Info ] XR_KHR_vulkan_enable: Version=8
11:43:18.730 Unity [XR] [532130122096] [11:43:18.730][Info ] XR_KHR_vulkan_enable2: Version=2
11:43:18.730 Unity [XR] [532130122096] [11:43:18.730][Info ] XR_KHR_composition_layer_cube: Version=8
11:43:18.730 Unity [XR] [532130122096] [11:43:18.730][Info ] XR_KHR_composition_layer_cylinder: Version=4
11:43:18.730 Unity [XR] [532130122096] [11:43:18.730][Info ] XR_KHR_composition_layer_equirect2: Version=1
11:43:18.730 Unity [XR] [532130122096] [11:43:18.730][Info ] XR_KHR_composition_layer_color_scale_bias: Version=5
11:43:18.730 Unity [XR] [532130122096] [11:43:18.730][Info ] XR_KHR_composition_layer_depth: Version=6
11:43:18.730 Unity [XR] [532130122096] [11:43:18.730][Info ] XR_FB_color_space: Version=3
11:43:18.730 Unity [XR] [532130122096] [11:43:18.730][Info ] XR_EXT_performance_settings: Version=4
11:43:18.730 Unity [XR] [532130122096] [11:43:18.730][Info ] XR_EXT_hand_tracking: Version=4
11:43:18.730 Unity [XR] [532130122096] [11:43:18.730][Info ] XR_EXT_debug_utils: Version=5
11:43:18.730 Unity [XR] [532130122096] [11:43:18.730][Info ] XR_FB_display_refresh_rate: Version=1
11:43:18.730 Unity [XR] [532130122096] [11:43:18.730][Info ] XR_FB_swapchain_update_state: Version=3
11:43:18.730 Unity [XR] [532130122096] [11:43:18.730][Info ] XR_FB_swapchain_update_state_opengl_es: Version=1
11:43:18.730 Unity [XR] [532130122096] [11:43:18.730][Info ] XR_FB_swapchain_update_state_vulkan: Version=1
11:43:18.730 Unity [XR] [532130122096] [11:43:18.730][Info ] XR_FB_swapchain_update_state_android_surface: Version=1
11:43:18.730 Unity [XR] [532130122096] [11:43:18.730][Info ] XR_OCULUS_common_reference_spaces: Version=1
11:43:18.730 Unity [XR] [532130122096] [11:43:18.730][Info ] XR_FB_composition_layer_image_layout: Version=1
11:43:18.730 Unity [XR] [532130122096] [11:43:18.730][Info ] XR_FB_composition_layer_alpha_blend: Version=3
11:43:18.730 Unity [XR] [532130122096] [11:43:18.730][Info ] XR_FB_common_events: Version=2
11:43:18.730 Unity [XR] [532130122096] [11:43:18.730][Info ] XR_FB_hand_tracking_mesh: Version=3
11:43:18.730 Unity [XR] [532130122096] [11:43:18.730][Info ] XR_FB_hand_tracking_aim: Version=2
11:43:18.730 Unity [XR] [532130122096] [11:43:18.730][Info ] XR_FB_hand_tracking_capsules: Version=3
11:43:18.730 Unity [XR] [532130122096] [11:43:18.730][Info ] XR_FB_foveation: Version=1
11:43:18.730 Unity [XR] [532130122096] [11:43:18.730][Info ] XR_FB_foveation_configuration: Version=1
11:43:18.730 Unity [XR] [532130122096] [11:43:18.730][Info ] XR_FB_foveation_vulkan: Version=1
11:43:18.730 Unity [XR] [532130122096] [11:43:18.730][Info ] XR_FB_composition_layer_secure_content: Version=1
11:43:18.731 Unity [XR] [532130122096] [11:43:18.731][Info ] XR_KHR_convert_timespec_time: Version=1
11:43:18.731 Unity [XR] [532130122096] [11:43:18.731][Info ] XR_META_body_tracking_full_body: Version=1
11:43:18.731 Unity [XR] [532130122096] [11:43:18.731][Info ] XR_FB_body_tracking: Version=1
11:43:18.731 Unity [XR] [532130122096] [11:43:18.731][Info ] XR_FB_keyboard_tracking: Version=1
11:43:18.731 Unity [XR] [532130122096] [11:43:18.731][Info ] XR_FB_spatial_entity: Version=1
11:43:18.731 Unity [XR] [532130122096] [11:43:18.731][Info ] XR_FB_triangle_mesh: Version=2
11:43:18.731 Unity [XR] [532130122096] [11:43:18.731][Info ] XR_FB_passthrough: Version=4
11:43:18.731 Unity [XR] [532130122096] [11:43:18.731][Info ] XR_META_passthrough_color_lut: Version=1
11:43:18.731 Unity [XR] [532130122096] [11:43:18.731][Info ] XR_META_passthrough_layer_resumed_event: Version=1
11:43:18.731 Unity [XR] [532130122096] [11:43:18.731][Info ] XR_META_passthrough_preferences: Version=1
11:43:18.731 Unity [XR] [532130122096] [11:43:18.731][Info ] XR_FB_render_model: Version=4
11:43:18.731 Unity [XR] [532130122096] [11:43:18.731][Info ] XR_FB_haptic_amplitude_envelope: Version=1
11:43:18.731 Unity [XR] [532130122096] [11:43:18.731][Info ] XR_FB_haptic_pcm: Version=1
11:43:18.731 Unity [XR] [532130122096] [11:43:18.731][Info ] XR_FB_spatial_entity_storage: Version=1
11:43:18.731 Unity [XR] [532130122096] [11:43:18.731][Info ] XR_FB_spatial_entity_storage_batch: Version=1
11:43:18.731 Unity [XR] [532130122096] [11:43:18.731][Info ] XR_FB_spatial_entity_sharing: Version=1
11:43:18.731 Unity [XR] [532130122096] [11:43:18.731][Info ] XR_FB_spatial_entity_user: Version=1
11:43:18.731 Unity [XR] [532130122096] [11:43:18.731][Info ] XR_FB_space_warp: Version=2
11:43:18.731 Unity [XR] [532130122096] [11:43:18.731][Info ] XR_FB_spatial_entity_container: Version=1
11:43:18.731 Unity [XR] [532130122096] [11:43:18.731][Info ] XR_FB_scene: Version=1
11:43:18.731 Unity [XR] [532130122096] [11:43:18.731][Info ] XR_FB_scene_capture: Version=1
11:43:18.731 Unity [XR] [532130122096] [11:43:18.731][Info ] XR_META_spatial_entity_mesh: Version=1
11:43:18.731 Unity [XR] [532130122096] [11:43:18.731][Info ] XR_FB_face_tracking: Version=1
11:43:18.731 Unity [XR] [532130122096] [11:43:18.731][Info ] XR_FB_face_tracking2: Version=1
11:43:18.731 Unity [XR] [532130122096] [11:43:18.731][Info ] XR_META_local_dimming: Version=1
11:43:18.731 Unity [XR] [532130122096] [11:43:18.731][Info ] XR_META_vulkan_swapchain_create_info: Version=1
11:43:18.731 Unity [XR] [532130122096] [11:43:18.731][Info ] XR_META_foveation_eye_tracked: Version=1
11:43:18.731 Unity [XR] [532130122096] [11:43:18.731][Info ] XR_FB_eye_tracking_social: Version=1
11:43:18.731 Unity [XR] [532130122096] [11:43:18.731][Info ] XR_FB_passthrough_keyboard_hands: Version=2
11:43:18.731 Unity [XR] [532130122096] [11:43:18.731][Info ] XR_FB_composition_layer_settings: Version=1
11:43:18.731 Unity [XR] [532130122096] [11:43:18.731][Info ] XR_META_feature_fidelity: Version=1
11:43:18.731 Unity [XR] [532130122096] [11:43:18.731][Info ] XR_FB_composition_layer_depth_test: Version=1
11:43:18.731 Unity [XR] [532130122096] [11:43:18.731][Info ] XR_EXT_eye_gaze_interaction: Version=2
11:43:18.731 Unity [XR] [532130122096] [11:43:18.731][Info ] XR_EXT_hand_joints_motion_range: Version=1
11:43:18.731 Unity [XR] [532130122096] [11:43:18.731][Info ] XR_EXT_hand_tracking_data_source: Version=1
11:43:18.731 Unity [XR] [532130122096] [11:43:18.731][Info ] XR_META_hand_tracking_wide_motion_mode: Version=1
11:43:18.731 Unity [XR] [532130122096] [11:43:18.731][Info ] XR_META_performance_metrics: Version=2
11:43:18.731 Unity [XR] [532130122096] [11:43:18.731][Info ] XR_META_virtual_keyboard: Version=1
11:43:18.731 Unity [XR] [532130122096] [11:43:18.731][Info ] XR_META_detached_controllers: Version=1
11:43:18.731 Unity [XR] [532130122096] [11:43:18.731][Info ] XR_MSFT_hand_interaction: Version=1
11:43:18.731 Unity [XR] [532130122096] [11:43:18.731][Info ] XR_META_headset_id: Version=2
11:43:18.731 Unity [XR] [532130122096] [11:43:18.731][Info ] XR_META_recommended_layer_resolution: Version=1
11:43:18.731 Unity [XR] [532130122096] [11:43:18.731][Info ] XR_META_environment_depth: Version=1
11:43:18.731 Unity [XR] [532130122096] [11:43:18.731][Info ] XR_EXT_active_action_set_priority: Version=1
11:43:18.731 Unity [XR] [532130122096] [11:43:18.731][Info ] XR_META_automatic_layer_filter: Version=1
11:43:18.731 Unity [XR] [532130122096] [11:43:18.731][Info ] XR_META_body_tracking_fidelity: Version=1
11:43:18.731 Unity [XR] [532130122096] [11:43:18.731][Info ] XR_META_simultaneous_hands_and_controllers: Version=1
11:43:18.731 Unity [XR] [532130122096] [11:43:18.731][Info ] XR_EXT_local_floor: Version=1
11:43:18.731 Unity [XR] [532130122096] [11:43:18.731][Info ] XR_META_body_tracking_calibration: Version=1
11:43:18.731 Unity [XR] [532130122096] [11:43:18.731][Info ] XR_META_boundary_visibility: Version=1
11:43:18.731 Unity [XR] [532130122096] [11:43:18.731][Info ] XR_EXT_user_presence: Version=1
11:43:18.731 Unity [XR] [532130122096] [11:43:18.731][Info ] XR_KHR_visibility_mask: Version=2
11:43:18.731 Unity [XR] [532130122096] [11:43:18.731][Info ] XR_LOGITECH_mx_ink_stylus_interaction: Version=1
11:43:18.731 Unity [XR] [532130122096] [11:43:18.731][Info ]
11:43:18.731 Unity [XR] [532130122096] [11:43:18.731][Info ] Available Layers: (0)
11:43:18.731 Unity [XR] [532130122096] [11:43:18.731][Info ]
11:43:18.731 Unity [XR] [532130122096] [11:43:18.731][Info ] Runtime Name: Oculus
11:43:18.732 Unity [XR] [532130122096] [11:43:18.731][Info ] Runtime Version: 68.748.0
11:43:18.732 Unity [XR] [532130122096] [11:43:18.732][Info ]
11:43:18.732 Unity [XR] [532130122096] [11:43:18.732][Info ] Form factor: XR_FORM_FACTOR_HEAD_MOUNTED_DISPLAY
11:43:18.732 Unity [XR] [532130122096] [11:43:18.732][Info ]
11:43:18.732 Unity [XR] [532130122096] [11:43:18.732][Info ] ==== Vulkan ====
11:43:18.732 Unity [XR] [532130122096] [11:43:18.732][Info ]
11:43:18.732 Unity [XR] [532130122096] [11:43:18.732][Info ] Depth Support Available: Yes
11:43:18.732 Unity [XR] [532130122096] [11:43:18.732][Info ]
11:43:18.732 Unity [XR] [532130122096] [11:43:18.732][Info ] Enable: XR_KHR_vulkan_enable2
11:43:18.732 Unity [XR] [532130122096] [11:43:18.732][Info ]
11:43:18.732 Unity [XR] [532130122096] [11:43:18.732][Info ] ==== Last 20 Events ====
11:43:18.732 Unity [XR] [532130122096] [11:43:18.732][Info ]
11:43:18.732 Unity
11:43:18.732 Unity ==== End Unity OpenXR Diagnostic Report ====
11:43:18.732 Unity
11:43:18.732 Unity
11:43:18.732 Unity [XR] XR_META_performance_metrics: Attempted to stop before session ready
11:43:18.733 OpenXR ------------ xrDestroyInstance [start] -----------

@JordiBlanco any luck resolving this? I’ve hit this same issue ‘Requested feature extensions not supported by runtime: (1) XR_OCULUS_android_initialize_loader: Feature=“Meta Quest Support”: Version=1.0.0, Company="Unity"’ showing up in my OpenXRDiagnostic Report and I’m getting the constant ‘…’ with the app stuck loading (though I can hear audio playing in my app). Anyone got an tips on resolving this issue?

Hey. I had the exact same error but will a small difference. This was my error: MissingMethodException: Default constructor not found for type UnityEngine.XR.OpenXR.Features.Meta.MetaOpenXRCameraSubsystem

Lowering the Managed Strip Level helped for me. This can be found in the Player Settings.