google-ar / arcore-android-sdk

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

hitTest returns null and getting "hit_test.cc:428] INTERNAL: No point hit." in Redmi Note 7s #1558

Open wh173d3v11 opened 1 year ago

wh173d3v11 commented 1 year ago

SPECIFIC ISSUE ENCOUNTERED

Getting Internal error while creating anchor with hitTest with X,Y coordinates as showing in example of sample/ml_kotlin. Even that sample not worked I'm using Redmi Note 7 which is supported ARCORE.

event i tried with "val result = frame.hitTest(0F, 0F) "

E E0000 00:00:1670432157.171863 14794 hit_test.cc:428] INTERNAL: No point hit.

is any alternative way to create anchors with X,Y coordinates?

VERSIONS USED

STEPS TO REPRODUCE THE ISSUE

  1. Create a hitTest with 0,0 for center position.
EdGNoyeel commented 1 year ago

Same problem

wh173d3v11 commented 1 year ago

@EdGNoyeel Hmm, No response from them.

BTW, I'm currently using SceneView, and in that also same issue but the quick fix is i'm taking Current Frame from arSession, which works fine.

Sarraj-Sahar commented 1 year ago

any updates on this ? I am currently facing the same issue. I get "No point hit" even though I can print the coordinates of the tapped point and it even says "1 anchor created" on my phone screen (ps : it only says "1 anchors created" but it never actually shows on my screen)

EdGNoyeel commented 1 year ago

Unfortunately, not yet. I gave up to use this.. -----Original Message----- From: "Sahar @.> To: @.>; Cc: @.>; @.>; Sent: 2023-03-07 (화) 20:52:49 (GMT+09:00) Subject: Re: [google-ar/arcore-android-sdk] hitTest returns null and getting "hit_test.cc:428] INTERNAL: No point hit." in Redmi Note 7s (Issue #1558)

any updates on this ? I am currently facing the same issue. I get "No point hit" even though I can print the coordinates of the tapped point and it even says "1 anchor created" on my phone screen (ps : it only says "1 anchors created" but it never actually shows on my screen) — Reply to this email directly, view it on GitHub, or unsubscribe. You are receiving this because you were mentioned.Message ID: @.***>