Search Unity

  1. Unity 6 Preview is now available. To find out what's new, have a look at our Unity 6 Preview blog post.
    Dismiss Notice
  2. Unity is excited to announce that we will be collaborating with TheXPlace for a summer game jam from June 13 - June 19. Learn more.
    Dismiss Notice
  3. Dismiss Notice

Discussion AR app detects the feature image inside unity but not in android

Discussion in 'AR' started by Dharshan_, Nov 13, 2022.

  1. Dharshan_

    Dharshan_

    Joined:
    Jan 12, 2022
    Posts:
    10
    AR app detects the feature image inside unity but not in android. I built the files for the app and ran it in my phone but the app doesnt detect the feature image Screenshot (481).png Screenshot (481).png .
     
  2. DevDunk

    DevDunk

    Joined:
    Feb 13, 2020
    Posts:
    5,202
    What code is used?
    Any other issues or just no image detected?
    AR Foundation? ARCore? Others?
     
  3. Dharshan_

    Dharshan_

    Joined:
    Jan 12, 2022
    Posts:
    10
    Hi DevDunk, I have used c# and also attached it for your reference .
    when i run it on my laptop it detects the image and the functionalities are working fine but when i build it for android the app just starts and a black screen appears .
    I have installed AR foundation .
    Should i use AR core with it to run it on android?
    I have used AR core too but when i clicked the build button it said : you are using vulkan graphics api and it wont work with AR core .....what should i do
     

    Attached Files:

  4. DevDunk

    DevDunk

    Joined:
    Feb 13, 2020
    Posts:
    5,202
    Ar foundation is a bit better for advanced AR in my opinion. Vuforia has wider support.
    Look up comparisons.

    For both to get rid of issues, do what the console says. Remove vulkan from graphics api and make sure it's just opengles 3
     
  5. andyb-unity

    andyb-unity

    Unity Technologies

    Joined:
    Feb 10, 2022
    Posts:
    1,135