google-ar / arcore-android-sdk

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

Error calculating the depth hit tests #1526

Open RGregat opened 2 years ago

RGregat commented 2 years ago

SPECIFIC ISSUE ENCOUNTERED

If I enable Depth I see in my logfile quite a few ARCore Error-Messages where a depth hit test failed. I don't have any regulator when I do a hittest. As soon as I get a new Frame I do a hit test. I have the feeling that I had less issues with a previous version of ARCore. But well that might be a subjective impression.

2022-07-14 15:37:04.980 16079-16314/? E/native: E0000 00:00:1657805824.980890   16314 depth_filter_wfov.cc:134] INTERNAL: RET_CHECK failure (vr/perception/mobile_fusion/depth_filter_wfov/depth_filter_wfov.cc:134) state_size.y() / static_cast<float>(out_camera.height) == camera_rescale_factor (0.8 vs. 0.6) 
    Stack trace:
2022-07-14 15:37:04.983 16079-16079/? E/native: E0000 00:00:1657805824.983940   16079 status.cc:162] FAILED_PRECONDITION: 
    ARCoreError: third_party/arcore/ar/core/session.cc:3213

    ARCoreError: vr/perception/depth/projects/motion_stereo/manager/motion_stereo_manager.cc:2124
    No raw depth data found for the requested timestamp. [type.googleapis.com/util.ErrorSpacePayload='ArStatusErrorSpace::AR_ERROR_NOT_YET_AVAILABLE']
    === Source Location Trace: === 
    vr/perception/depth/projects/motion_stereo/manager/motion_stereo_manager.cc:2124
    vr/perception/depth/projects/motion_stereo/manager/motion_stereo_manager.cc:1971
    third_party/arcore/ar/core/session.cc:3213
2022-07-14 15:37:04.984 16079-16079/? W/native: W0000 00:00:1657805824.984391   16079 session.cc:2623] FAILED_PRECONDITION: 
    ARCoreError: vr/perception/depth/projects/motion_stereo/manager/motion_stereo_manager.cc:2124
    No raw depth data found for the requested timestamp.; Error calculating the depth hit tests. [type.googleapis.com/util.ErrorSpacePayload='ArStatusErrorSpace::AR_ERROR_NOT_YET_AVAILABLE']
    === Source Location Trace: === 
    vr/perception/depth/projects/motion_stereo/manager/motion_stereo_manager.cc:2124
    vr/perception/depth/projects/motion_stereo/manager/motion_stereo_manager.cc:1971
    third_party/arcore/ar/core/depth_hit_test.cc:133

VERSIONS USED

STEPS TO REPRODUCE THE ISSUE

WORKAROUNDS (IF ANY)

ADDITIONAL COMMENTS

wearetelescopic commented 2 years ago

Same here with Samsung Galaxy S21