We use cookies to ensure that we give you the best experience on our website. If you continue to use this site we will assume that you are happy with it.

Msg : AR Unavailable on Supported Device

Home Forums General Questions Msg : AR Unavailable on Supported Device

Viewing 7 posts - 1 through 7 (of 7 total)
  • Author
    Posts
  • #25305
    Avatargrimmy
    Newbie

    Hi, I’m using a samsung Galaxy S7 edge (a supported ARCore device acording to https://developers.google.com/ar/discover/supported-devices#android_play) but I receive th ‘AR Unavailable’ warning when testing the AR demo on device.

    I have the latest Android update and I’m connecting using port forwarding with the device tethered – localhost:8668.

    The app runs fine but when i press the ‘Enter AR’ button I get the warning.

    I have the latest version of chrome on the device (version 80.0.3987.162)

    Am i doing something wrong.?

    Cheers

    • This topic was modified 2 months ago by Avatargrimmy. Reason: added chrome version
    #25308
    Avatargrimmy
    Newbie

    Solved. I hadn’t set the Chrome flags on device as described here: https://www.soft8soft.com/docs/manual/en/introduction/AR-VR-development.html

    However, does this mean my end users will need to do this too? (That’s not going to happen :))

    I also get an ‘Enter AR native popup every time I launch the app which is quite annoying.

    Additionally on the S7 the framerate is very clunky, the surface detection is very inaccurate and it crashed out of chrome the second time I ran it. ANy tips?

    Cheers

    • This reply was modified 2 months ago by Avatargrimmy.
    #25315

    WebXR+AR support is expected to be unflagged in Chrome 82. In fact, it was planned for Chrome 81, but this version was skipped due to COVID.
    As for S7 issue. What is the framerate for non-AR session? Maybe you need to optimize your application by reducing the amount of geometry and materials complexity.

    Co-founder and CTO at Soft8Soft
    FB | Twitter | VK

    #25317
    Avatargrimmy
    Newbie

    Gosh okay! Cheers.

    On the S7 I’m simply running the AR demo that comes shipped with Verge3D (the little guy that says hello in Russian :)).

    In general its a fairly decent phone but its less about frame rate and more about the bad surface recognition. It really cant tell when a surface is far or near. Additionally the blue ‘move around’ label seems to stay on screen for about 10 seconds before the demo actually starts.

    So, are some phones better than this at others or is it just that the Google AR is pretty bad at this in general (for now)? Unfortunately I don’t have another device to test on. My other device is a Huawei Mate 10 which isn’t supported. Should I get a better phone?

    The demo you have here (https://www.youtube.com/watch?v=92AMh4vV4zw) seemed to handle distances of surfaces better than my s7 though; the ‘move around’ label vanishes correctly after just a second and there is no ‘entering AR’ native popup. Maybe you just edited that out for the video?

    Maybe I messed something up in the code? (ALthough I don’t think I changed anything) So, aNother questions is how do I redownload a demo project and/or reset it to default state.

    Cheers

    #25319

    We actually used Galaxy S8 to take this video, and it looks like it handles both 3D rendering and AR surface recognition much better.

    Maybe there is some hardware issue with this model… do you have latest system/software updates installed?

    As for “Enter AR popup” this message is a mandatory security measure imposed by the browser. It prevents websites to enter AR mode without user consent, thus forbids doing some nasty surveillance stuff :) .

    Co-founder and CTO at Soft8Soft
    FB | Twitter | VK

    #25321
    Avatargrimmy
    Newbie

    Yes, I have all the latest updates for the device. Is there a way to get the original AR demo source files so that I confirm my tests? I just want to be sure it isnt me that caused the issue. Cheers

    #25322

    Sure, you can get the source files of this demo inside the applications/augmented_reality directory located in your Verge3D distribution.

    I’d also suggest making a simple AR app with just a cube to confirm that the issue is due to hardware and not the slow 3D rendering.

    Co-founder and CTO at Soft8Soft
    FB | Twitter | VK

Viewing 7 posts - 1 through 7 (of 7 total)

You must be logged in to reply to this topic.