Search Unity

Camera not rendering when using Unity as a library in android app

Discussion in 'AR/VR (XR) Discussion' started by AkhilVemuri, Dec 3, 2018.

  1. AkhilVemuri

    AkhilVemuri

    Joined:
    Dec 3, 2018
    Posts:
    1
    In Reference to this: https://github.com/google-ar/arcore-unity-sdk/issues/369

    When I open my ARCore Unity project as a library with an android project, the camera displayed black (similar to first guy in the discussion).

    However, when I just build and run the Unity project alone, everything works fine. I tried putting the missing .aar files from my Unity project into my Android project libs folder like @small-potatoes suggested and compiled that in the dependencies of my build.gradle file, but my camera output was still black.

    All ARCore Plugins
    Screen Shot 2018-12-03 at 12.10.11 AM.png
    Placed Plugins Into Libs Folder
    Screen Shot 2018-12-03 at 12.11.08 AM.png
    Compiled New Plugins
    Screen Shot 2018-12-03 at 12.12.20 AM.png

    Unity Version: 2018.1.6f1
    ARCore Version: 1.5.0
     
  2. victorpetrovski93

    victorpetrovski93

    Joined:
    Nov 19, 2018
    Posts:
    1
    Any updates on this? I'm struggling as well
     
  3. vishalghadge

    vishalghadge

    Joined:
    Feb 12, 2019
    Posts:
    4
    Any update on this i am also facing the same issue
     
  4. noumikab31

    noumikab31

    Joined:
    Sep 8, 2020
    Posts:
    2
    Any update on this? I'm facing a similar issue. (ARCore version :1.15.0)