google-ar / arcore-unity-sdk

ARCore SDK for Unity
https://developers.google.com/ar
Other
1.4k stars 400 forks source link

Augmented Faces is unable to track anything [OnePlus 5T] #504

Open cuuupid opened 5 years ago

cuuupid commented 5 years ago

SPECIFIC ISSUE ENCOUNTERED

On a OnePlus 5T running the latest ARCore, the Augmented Faces app doesn't load any meshes. Upon closer inspection it is unable to track any and m_TempAugmentedFaces.Count == 0.

VERSIONS USED

STEPS TO REPRODUCE THE ISSUE

  1. Build & Run Augmented Faces Example Scene

WORKAROUNDS (IF ANY)

Force the FaceAttachment to always be active by changing Line 60 to:

                FaceAttachment.SetActive(true);

ADDITIONAL COMMENTS

It may be that this is not supported on phones that lack a dual front-facing camera, is this the case?

cuuupid commented 5 years ago

Edit: On line 60, changing it to FaceAttachment.SetActive(true); somehow works even though the Count is 0. Perhaps the Count is not being correctly updated?

Forcing it to always be active results in the tracking working perfectly.

fredsa commented 5 years ago

I just verified that the Augmented Faces sample scene in the 1.7.0 ARCore SDK for Unity works correctly on a OnePlus 5T with device fingerprint OnePlus/OnePlus5T/OnePlus5T:9/PKQ1.180716.001/1902221914:user/release-keys

Can you share the output of adb shell getprop ro.build.fingerprint?