arcore-unity-sdk
arcore-unity-sdk copied to clipboard
Face-Tracking lag after updating to newest version of AR services
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
- Unity: 2019.2.21f1
- ARCore SDK for Unity: v1.16.0
- Device manufacturer, model, and O/S: Samsung Galaxy S10+ (Android 10)
- ARCore: 1.16.200302046
- Output of
adb shell getprop ro.build.fingerprint
: samsung/beyond2lteeea/beyond2:10/QP1A.190711.020/G975FXXU4CTC9:user/release-keys
STEPS TO REPRODUCE THE ISSUE
- Download/Open lastest ARCore SDK for Unity.
- Build included AugmentedFaces example scene and play on Android device.
- Install latest version of Google Play Services for AR when prompted on app startup.
- 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.