ARKit Classification and AR Foundation

I am trying to use the classification module, but it is always set to none - I cycle through all planes and print their types.

I’m using 2019.3.0f and 3.0.1 AR Foundation/ARKit plugin, but it was the same with 2019.2

Hi unnanego. Plane classification is only supported on iOS 12 and later on devices with at least an A12 processor. See Apple docs here if you don’t believe me. :slight_smile:
https://developer.apple.com/documentation/arkit/arplaneanchor/2990938-classificationsupported?language=objc

So it is possible that your device is not capable of classification and the default value in that case is classification None.

You can query the XRPlaneSubsystem descriptor to determine whether your device supports classification using the supportsClassification property.
https://docs.unity3d.com/Packages/com.unity.xr.arsubsystems@3.0/api/UnityEngine.XR.ARSubsystems.XRPlaneSubsystemDescriptor.html

I hope this helps!

-Mike

makes sense, thank you! It’s 8+, so it doesn’t =(

just tried with an iPhone SE 2020 (A13 and iOS 14) Classification doesn’t work :frowning:

should we write somewhere which iOS devices have supportsClassification enabled? i guess iPhone X or latest iPad pro?

1 Like