google-ar / arcore-unity-sdk

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

AugmentedImageDatabase reduce responsiveness of background camera renderer #583

Open dnnkeeper opened 5 years ago

dnnkeeper commented 5 years ago

SPECIFIC ISSUE ENCOUNTERED

VERSIONS USED

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

andorfermichael commented 5 years ago

I can confirm that. This makes tracking nearly impossible.

I'm using a Google Nexus 6P

boehm-e commented 5 years ago

Yes, same on my Pocophone F1 (snapdragon 845)

DerrickBarra commented 4 years ago

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 commented 4 years ago

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!