google-ar / arcore-android-sdk

ARCore SDK for Android Studio
https://developers.google.com/ar
Other
4.97k stars 1.22k forks source link

E/ACameraMetadata: getConstEntry: cannot find metadata tag 65578 #982

Closed NolanOfficial closed 4 years ago

NolanOfficial commented 4 years ago

SPECIFIC ISSUE ENCOUNTERED

Screen Shot 2020-01-06 at 11 31 34 AM

I've attached a Logcat preview above, but this bug seems to be pretty straightforward. The following error will get printed into the console recursively once a user has entered an AR Session: E/ACameraMetadata: getConstEntry: cannot find metadata tag 65578

I've also tested this on the Google's Example App and the same issue occurs. I've tested about 7 phones and each phone has had the same issue, with some constantly printing (Samsung Galaxies), and others printing the error every so often.

VERSIONS USED

STEPS TO REPRODUCE THE ISSUE

  1. Open up android studio AR project
  2. Run the project on any device
  3. Start an AR Session
  4. Errors will start printing out inside of Logcat

WORKAROUNDS (IF ANY)

None Found

ADDITIONAL COMMENTS

NolanOfficial commented 4 years ago

The issue appears to stem from the following function call:

Screen Shot 2020-01-06 at 1 19 40 PM

I've tried to see if I can override some camera metadata properties but since they are immutable, I've had no luck.

ajorias commented 4 years ago

Same issue here, it's super annoying ESPECIALLY when debugging stuff.

AntiGuide commented 4 years ago

This happens for me too

VERSIONS USED

Android Studio: 3.5.2
Device manufacturer, model, and O/S: Samsung Galaxy S8 OS 9
Output of adb shell getprop ro.build.fingerprint: samsung/dreamltexx/dreamlte:9/PPR1.180610.011/G950FXXS6DSL2:user/release-keys
versionName=1.14.191118106
MichealReed commented 4 years ago

Seeing this as well. The amount of log spam coming from ARCore probably isn't helping performance much.

AntonioNoack commented 4 years ago

Having this issue, too; Android Studio 3.5.3, app based on HelloSceneView example.

japser36 commented 4 years ago

Seems to be a duplicate of #951

fredsa commented 4 years ago

This issue should be fixed in Google Play Services for AR 1.15.0 and later. As of today, the update is available to 100% of users on ARCore supported devices. For testing purposes, the APK is available for download and side loading from https://github.com/google-ar/arcore-android-sdk/releases

ShantanuPhatke commented 4 years ago

This issue should be fixed in Google Play Services for AR 1.15.0 and later. As of today, the update is available to 100% of users on ARCore supported devices. For testing purposes, the APK is available for download and side loading from https://github.com/google-ar/arcore-android-sdk/releases

Despite of using the latest version I'm facing the same issue

SarvagyaVaish commented 4 years ago

Ditto. Still seeing the issue with

    implementation 'com.google.ar:core:1.15.0'
    implementation 'com.google.ar.sceneform.ux:sceneform-ux:1.15.0'
    implementation 'com.google.ar.sceneform:core:1.15.0'
tellypresence commented 4 years ago

Still seeing this with sceneForm v1.16.0, Android Studio 4.0 beta;

In my case tag is slightly different:

E/ACameraMetadata: getConstEntry: cannot find metadata tag 65576
DipanshuHarbola commented 4 years ago

Facing the same error - E/ACameraMetadata: getConstEntry: cannot find metadata tag 65578 Anyone have a solution or any workaround for this issue.

nguyenbs commented 4 years ago

Hi @fredsa This is error still occurring in latest version v1.20.0 image

Tested with Samsung Galaxy S9, Android 10

SunitRoy2703 commented 3 years ago

count 1 more

ROBYER1 commented 3 years ago

Same issue here, Unity built app luckily it's just a test app but the log is spammed out!

SunitRoy2703 commented 3 years ago

I resolved the problem currently, But didn't understood how it when, what I did was just to rebuild the project

MichealReed commented 3 years ago

@fredsa can you reopen? Maybe this should spark a larger discussion about log overhaul. In release builds the output shouldn't even be piped to the console. Writing/keeping text is expensive.

fredsa commented 3 years ago

@MichealReed @ROBYER1 Please feel free to create a new issue with the specific log spam you're seeing in the latest SDK. Helpful to full log of an AR session, and report # of messages per second / per minute.

ROBYER1 commented 3 years ago

@MichealReed @ROBYER1 Please feel free to create a new issue with the specific log spam you're seeing in the latest SDK. Helpful to full log of an AR session, and report # of messages per second / per minute.

Put my issue in here, I was able to reproduce the error with any ARCore app, even the Google Measure app. The error for me is "Error ACameraMetadata getConstEntry: cannot find metadata tag 65576"

https://github.com/google-ar/arcore-android-sdk/issues/1166

dkmoon commented 3 years ago

Testing augmented face java. The same issue happening. ARCore 1.26.0.