google-ar / arcore-android-sdk

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

Unable to start WebXR AR session on S24 #1655

Open simonedevit opened 1 month ago

simonedevit commented 1 month ago

SPECIFIC ISSUE ENCOUNTERED

I'm unable to start an AR session from a browser (Google Chrome/Samsung Internet Browser) on Samsung Galaxy S24.

VERSIONS USED

STEPS TO REPRODUCE THE ISSUE

  1. Go to https://immersive-web.github.io/webxr-samples/immersive-ar-session.html
  2. Press on "START AR" button

WORKAROUNDS (IF ANY)

ADDITIONAL COMMENTS

Inspecting the device with Chrome Developer Tools, it seems an issue during the creation of XRSession due to not supported configuration.

Screenshot from 2024-05-20 19-18-31

Same test is working on a Samsung Galaxy S10 (Google Play Services version: 24.16.16: 190400-629452829).

Ledenik commented 1 month ago

The same thing happens on my Galaxy A55

As far as I can tell, it's because Samsung/Google haven't certified the devices for ARCore yet. If you look at the list of supported devices, S24 and A55 are both missing.

Ledenik commented 3 weeks ago

Just to post an update, because I'm want to get this to work on my A55. The list was updated and it now includes both of the devices I mentioned in the previous comment, but they're both missing the "Supports Depth API" in the last column and the demos still don't work. I don't know what this implies, but I'm a bit disappointed.

devbridie commented 2 weeks ago

Hey, looking into this - the S24 and A55 definitely do support Depth API but it seems there's a mistake on the device table.

Few questions about this:

  1. Do any ARCore apps work on the affected devices?
  2. Have you tried the samples on Chrome on the affected devices?
Ledenik commented 2 weeks ago

Yes, to both.

I downloaded the Google Depth Lab app on my A55 and every sample works. I tried the samples on Chrome, since it's practically the only browser that supports WebXR. I know there are others, but as far as I can tell, they're all based on Chromium.

I have the latest version of Chrome, I keep it updated, hoping it would work, but it never does. I get the same errors as shown in the first post.

Ledenik commented 2 weeks ago

Some additional info, when I check the permissions on the WebXR samples website, it says the camera is turned off in the Android settings.

I double checked everything, and I have camera access enabled in the site settings in Chrome and in the Android settings.

cedgraph commented 1 week ago

Same issue on my S24 Tried with google library model-viewer