Unity-Technologies / arfoundation-samples

Example content for Unity projects based on AR Foundation
Other
3.08k stars 1.16k forks source link

Is Bounding Box Available in Quest Pro or only Quest 3? #1171

Open samuelmorais opened 7 months ago

samuelmorais commented 7 months ago

I tried the Bounding Box sample scene and built it to Quest Pro, but after trying the following code: if (LoaderUtility .GetActiveLoader()? .GetLoadedSubsystem<XRBoundingBoxSubsystem>() != null) { m_Text.text = "Bounding Box Subsystem is available"; // XRBoundingBoxSubsystem was loaded. The platform supports bounding box detection. } else { m_Text.text = "Bounding Box Subsystem is not available"; // XRBoundingBoxSubsystem was not loaded. The platform does not support bounding box detection. }

I saw the message "Bounding Box Subsystem is not available".

Is it possible to run the bounding box in Quest Pro or only in Quest 3?

jake-manfre commented 7 months ago

It should be available on Quest 2, Quest 3, and Quest Pro. Do you have the feature enabled in XR Plug-in Management > OpenXR in the OpenXR Feature Groups section https://docs.unity3d.com/Packages/com.unity.xr.meta-openxr@2.0/manual/index.html#getting-started?