google-ar / arcore-unity-sdk

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

Face-Tracking lag after updating to newest version of AR services #706

Open DenchiSoft opened 4 years ago

DenchiSoft commented 4 years ago

SPECIFIC ISSUE ENCOUNTERED

After updating to the newest version of Google Play Services for AR, there is a very noticeable delay before the live video becomes available inside of Unity using the ARCoreBackgroundRenderer in the AugmentedFaces example. The tracking itself is fine (synced with the camera feed), but the live camera feed itself is about half a second delayed, which was not the case in previous versions.

This issue started showing up in version 1.16.200302046 and was fixed after manually downgrading to the older version 1.15.200121046.

VERSIONS USED

STEPS TO REPRODUCE THE ISSUE

  1. Download/Open lastest ARCore SDK for Unity.
  2. Build included AugmentedFaces example scene and play on Android device.
  3. Install latest version of Google Play Services for AR when prompted on app startup.
  4. Notice ~0.5 second delay in the camera image.

WORKAROUNDS (IF ANY)

Downgrade to Google Play Services for AR version 1.15.200121046.

ADDITIONAL COMMENTS

There also seems to be some slight camera feed jitter in the newest version.