Search Unity

Unity apps don't show up on GearVR Oculus app

Discussion in 'AR/VR (XR) Discussion' started by Hughg, Apr 28, 2016.

  1. Hughg

    Hughg

    Joined:
    Jan 13, 2016
    Posts:
    16
    Hi,

    I've been trying to get a unity project onto my GearVR running on Galaxy S7. I've not been able to get any app running on the GearVR (including the Unity VR Samples app). The .apk installs, tells me I need to connect my GearVR but then the app won't show in the library.

    I've got the android SDKs installed and the JDK which is linked set up in my Unity editor.

    I've created the OSIG file and added it to the project folder.

    I've tested saving the .apk file to my project folder and then running with build and run. I get up to the stage where it tells me to connect to my headset and then the app won't show in the library.

    I've also tested loading the .apk directly on to the GearVR internal folder. When I open it using the file directory I get the same issue: it installs and then it doesn't show in the library. I can tell it's installed because when I try to run the .apk again it tells me I'll be updating the already existing app. Oculus asks me if I want the app to grant access to the device storage, I've clicked yes each time.


    Has anyone else had this issue and been able to solve it?
     
  2. EricJ13

    EricJ13

    Joined:
    Feb 28, 2009
    Posts:
    355
    None of the apps I've tested showed up in the Oculus library, they are in the Apps section on the device (I've got a Galaxy Note 4&5) and launch like any other app but show the "Insert device" message until you put the device in the HMD. Does your app play in the HMD after you launch it, or does the Oculus app launch instead? In other words, is the problem you're talking about only that the app doesn't show in the Oculus Gear VR library?
     
  3. Hughg

    Hughg

    Joined:
    Jan 13, 2016
    Posts:
    16
    Hey Eric,

    Thanks for the reply. I can see the apps in my device list but when I open them they just open the Oculus App instead and from there I'm not sure how to get them running.




     
  4. Hughg

    Hughg

    Joined:
    Jan 13, 2016
    Posts:
    16
    One other thing is that when I use Gala Launcher I can see one of my installed unity apps in there, the thumbnail shows a screen from the game itself. When I open it I still get the same issue of going straight to the oculus app.

    I've tried loading one of the apps onto a galaxy note with the gearvr innovator edition and i get the same issues.

    I'll try setting up unity 5.1 on another computer and see if that can solve the issue. On the computer I've been using I'm running 5.3.2f1
     
  5. Hughg

    Hughg

    Joined:
    Jan 13, 2016
    Posts:
    16
    as a quick update I got an app installed and working from one of my other computers.

    That one only has 1 version of Unity installed on it (5.3.1f1) while my main computer has 3 versions (4.6.9f, 4.7.1f, & 5.3.2f1) - I need at least one of the 4.x versions to run faceplus.

    I noticed in the crash log that I'm getting lines like this (even though I'm running it from 5.3.2f1):
    04-29 15:14:18.115 17527 17720 I Unity : Unity v4.6.9p3, Oculus Integration v0.1.3.0, OVRPlugin v0.0.0.0.
    04-29 15:14:18.115 17527 17720 I Unity :
    04-29 15:14:18.115 17527 17720 I Unity : (Filename: ./artifacts/AndroidManagedGenerated/UnityEngineDebug.cpp Line: 56)
    04-29 15:14:18.115 17527 17720 I Unity :
    04-29 15:14:18.115 17527 17720 I Unity : Unity Version: 4.6.9p3


    Is it possible that the multiple installs are causing the issue?
     
  6. Hughg

    Hughg

    Joined:
    Jan 13, 2016
    Posts:
    16
    Uninstalling 4.6x unfortunately hasn't fixed the issue. The exact same project from one computer which works causes a crash from the other computer

     
  7. Hamza3301

    Hamza3301

    Joined:
    May 23, 2019
    Posts:
    3
    Facing this issue it goes straight to the vr gear app and doesn't show my app running.
     
  8. Hamza3301

    Hamza3301

    Joined:
    May 23, 2019
    Posts:
    3
    It happens just after when i insert my device in vr gear