HumanSegmentation Depth Mode only works at Standard resolution
Unity 2019.1.0f1
If setting Depth Mode to anything other than Standard it doesn't work and the following runtime error is seen in Xcode
(Filename: currently not available on il2cpp Line: -1)
ArgumentException: Failed SupportsTextureFormat; format is not a valid TextureFormat at UnityEngine.SystemInfo.SupportsTextureFormat (UnityEngine.TextureFormat format) [0x00000] in <00000000000000000000000000000000>:0 at UnityEngine.Texture.ValidateFormat (UnityEngine.TextureFormat format) [0x00000] in <00000000000000000000000000000000>:0 at UnityEngine.Texture2D..ctor (System.Int32 width, System.Int32 height, UnityEngine.TextureFormat textureFormat, System.Boolean mipChain, System.Boolean linear, System.IntPtr nativeTex) [0x00000] in <00000000000000000000000000000000>:0 at UnityEngine.Texture2D.CreateExternalTexture (System.Int32 width, System.Int32 height, UnityEngine.TextureFormat format, System.Boolean mipChain, System.Boolean linear, System.IntPtr nativeTex) [0x00000] in <00000000000000000000000000000000>:0 at UnityEngine.XR.ARFoundation.ARTextureInfo.CreateTexture (UnityEngine.XR.ARSubsystems.XRTextureDescriptor descriptor) [0x00000] in <00000000000000000000000000000000>:0 at UnityEngine.XR.ARFoundation.ARTextureInfo.GetUpdatedTextureInfo (UnityEngine.XR.ARFoundation.ARTextureInfo textureInfo, UnityEngine.XR.ARSubsystems.XRTextureDescriptor descriptor) [0x00000] in <00000000000000000000000000000000>:0 at UnityEngine.XR.ARFoundation.ARHumanBodyManager.UpdateTexturesInfos () [0x00000] in <00000000000000000000000000000000>:0
Same here: Unity 2019.1.8 iOS 17A5508m
same problem. higher resolution would be awesome
We are surfacing all of the available resolutions that ARKit provides. See: https://docs.unity3d.com/Packages/[email protected]/api/UnityEngine.XR.ARFoundation.AROcclusionManager.html#UnityEngine_XR_ARFoundation_AROcclusionManager_humanSegmentationDepthMode