Search Unity

  1. Welcome to the Unity Forums! Please take the time to read our Code of Conduct to familiarize yourself with the forum rules and how to post constructively.
  2. Dismiss Notice

Unable to find gvr

Discussion in 'VR' started by oliver-binns, Aug 18, 2019.

  1. oliver-binns

    oliver-binns

    Joined:
    Aug 18, 2019
    Posts:
    1
    I am trying to use Unity to create a VR application for Android.
    Our menus are written natively using the Android SDK, then we are importing the unity scenes following this guide to create an aar- https://medium.com/@angelhiadefiesta/integrate-a-unity-module-to-a-native-android-app-87644fe899e0

    All is well, until we try to view the Unity scenes using the Google Cardboard headset mode- then I get an error message saying "Unable to find gvr." The headset mode seems to work when building an apk and installing directly, rather than integrating it into the existing app using an aar library.

    upload_2019-8-18_20-7-22.png upload_2019-8-18_20-7-15.png

    I can only assume that when building the aar some libraries are being missed out.
    I have unzipped the aar and it seems to contain all the necessary .jar, and .so files.

    Can anyone help with this?
     
    Sujeet10068009 likes this.
  2. Sujeet10068009

    Sujeet10068009

    Joined:
    May 22, 2019
    Posts:
    2
    Even i'm getting the same, looking for solution
     
  3. Sujeet10068009

    Sujeet10068009

    Joined:
    May 22, 2019
    Posts:
    2
    Hey! got the solution just check GVRvideo in your googlr vr folder and import the gvrvideo package
     
  4. joshuaGnol

    joshuaGnol

    Joined:
    Feb 10, 2020
    Posts:
    4
    can you provide with step or link to the package file? check GVRvideo in your googlr vr folder from where ? check where ?