Closed micsanbr closed 7 months ago
Thanks @micsanbr. We've confirmed this issue on our end and filed a bug for a future fix. We'll update this issue when that work is assigned to a developer and a fix is merged in.
This will be fixed in the 5.1.2 release.
Fixed in 5.1.2. Feel free to open another issue if you have further concerns. https://docs.unity3d.com/Packages/com.unity.xr.arfoundation@5.1/changelog/CHANGELOG.html#fixed
Expected behavior It should detect only horizontal planes.
Actual behavior It detects both planes.
Additional note: The UI still uses detectionMode which gets a warning saying it's obsolete. https://docs.unity3d.com/Packages/com.unity.xr.arfoundation@5.1/manual/features/plane-detection.html Setting / getting RequestedDetectionMode and currentDetectionMode (readonly) don't seem to do anything. https://docs.unity3d.com/Packages/com.unity.xr.arfoundation@5.1/api/UnityEngine.XR.ARFoundation.ARPlaneManager.html Pretty confusing.
Workaround