arcore-unity-sdk icon indicating copy to clipboard operation
arcore-unity-sdk copied to clipboard

AugmentedImageDatabase reduce responsiveness of background camera renderer

Open dnnkeeper opened this issue 5 years ago • 4 comments

SPECIFIC ISSUE ENCOUNTERED

VERSIONS USED

  • Unity: 2019.1.4f1
  • ARCore SDK for Unity: 1.9
  • Device manufacturer, model, and O/S: Galaxy S9, Note 8, Pocophone F1
  • ARCore: 1.9.190422066
  • Output of adb shell getprop ro.build.fingerprint: samsung/greatqltesq/greatqlte:8.0.0/R16NW/N950USQS4CRE1:user/release-keys

STEPS TO REPRODUCE THE ISSUE

  1. Build HelloAR scene, notice how fast camera responses to the device movements and rotations
  2. Add any Augmented Image Database to the session config (or build an Augmented Image scene) and build again
  3. Notice how slowly camera reacts to motions. It lags for ~100ms or more

WORKAROUNDS (IF ANY)

ARCore SDK for Unity v1.8 doesn't introduce such lag

ADDITIONAL COMMENTS

dnnkeeper avatar May 31 '19 15:05 dnnkeeper

I can confirm that. This makes tracking nearly impossible.

I'm using a Google Nexus 6P

andorfermichael avatar Jun 19 '19 16:06 andorfermichael

Yes, same on my Pocophone F1 (snapdragon 845)

boehm-e avatar Jun 23 '19 17:06 boehm-e

Confirmed over here too, on a Galaxy S8 after an image is added to the target database. The video background feed becomes juttery and lags a couple of frames then corrects itself. This happens indefinitely and makes image target tracking useless on ARCore in Unity.

DerrickBarra avatar Mar 12 '20 21:03 DerrickBarra

I've also confirmed from one of my teammates that this happens on their Galaxy S7. We haven't tried downgrading our ARCore version number down to 1.8 yet as was suggested by @dnnkeeper. But yeah this is a serious bug!

DerrickBarra avatar Apr 25 '20 18:04 DerrickBarra