Unity-Technologies / arfoundation-samples

Example content for Unity projects based on AR Foundation
Other
3.07k stars 1.15k forks source link

In IPhoneX incorrect tracking plane [Bug] #691

Closed mskalash closed 3 years ago

mskalash commented 3 years ago

The plane is incorrectly recognized on the iPhoneX. Namely, after recognition, it binds and moves with the camera on other iPhones and android everything is fine. Unity: 2019.4.10f1 Device: IPhoneX "com.unity.xr.arcore": "4.0.8", "com.unity.xr.arfoundation": "4.0.8", "com.unity.xr.arkit": "4.0.2", "com.unity.xr.arkit-face-tracking": "4.0.8", "com.unity.xr.arsubsystems": "4.0.1",

mskalash commented 3 years ago

On IPhone11 pro iOS 14.2 this bug too

KyryloKuzyk commented 3 years ago

May be related to this '6 degrees of freedom bug': https://forum.unity.com/threads/af-foundation-camera-switching-not-working.972897/

mskalash commented 3 years ago

I'll try

tdmowrer commented 3 years ago

I agree; I don't think plane detection is broken on iPhoneX/11 only -- the difference between iPhoneX and iPhone11 and earlier devices is that those phones support face detection while using the rear camera and 6dof tracking while using the front camera. This is a known issue in iOS, and @KirillKuzyk has pointed out the workaround.

This issue tracker link explains the issue in more detail: https://issuetracker.unity3d.com/issues/arfoundation-mobile-gameobjects-dont-disappear-when-deactivating-them-and-switching-cameras

stale[bot] commented 3 years ago

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.