Forum Discussion

🚨 This forum is archived and read-only. To submit a forum post, please visit our new Developer Forum. 🚨
miroski's avatar
miroski
Honored Guest
11 years ago

Unable to initialize VR. Please make sure the runtime is ins

Unable to initialize VR. Please make sure the runtime is installed and running and a VR display is attached.
UnityEngine.Debug:LogWarning(Object)
OVRManager:Awake() (at Assets/OVR/Scripts/OVRManager.cs:472


Console screenshot
http://i.imgur.com/OgCc89o.png

Tested Unity versions: 5.0.1f1, 5.1.1f1, 5.1.1p4
Tested Oculus Windows Runtime versions: 5.0, 6.0.1
Tested Oculus Mobile SDK (for Unity integration): 4.6.3, 5.0.1, 6.0.1

Overall, with newest versions, I get VR initialize problem no matter what. Service is working in background, re-started it manually from .exe files, nothing. Restarted PC and Unity.

Logcat from Android and console messages don't help me much (googling with error messages give very scarce results)

In older versions, runtime works, but built app either crashes after splash screen, or camera is standard instead OVR (sounds like app doesn't process camera script fully). OSIG file included in proper directory and device ID is correct.

I've been trying to get working platform to focus on designing 3D scene, but instead I'm sitting 3rd day and trying to figure out how on earth to get working app on Android (custom rom 4.4.4) on Xperia Neo V :-( First time with VR stuff, is it just a really buggy area?

3 Replies

Replies have been turned off for this discussion
  • I'm a little confused. Do you own a DK2? Because the message is referring to having a DK connected to the PC.

    Also, you should know the mobile SDK only supports the Samsung Note 4 and S6 using the Gear VR.

    Other phones and custom ROMs are not supported.
  • Jijith's avatar
    Jijith
    Honored Guest
    I got exactly the same error:-

    Unable to initialize VR. Please make sure the runtime is installed and running and a VR display is attached.
    UnityEngine.Debug:LogWarning(Object)
    OVRManager:Awake() (at Assets/OVR/Scripts/OVRManager.cs:472)


    I was following the video tutorial https://youtu.be/0vkRtsaP3co from Creating a Gear VR app in Unity Free by eVRydayVR.
    Followed all the instructions. After I made a plane and a cube in Unity I added the package UnityIntegration.unityPackage as instructed. Removed the standard camera and added the OVRCameraRig.prefab in its place (from Assets> OVR > Prefabs).
    But the camera is not rendering in stereo mode as shown in the tutorial but as a normal camera. Besides this noticeable difference there is this above mentioned error as well.

    At this stage, I have not yet connected the Galaxy Note 4. (following the video tutorial letter by letter). Galaxy Note 4 is connected in a later stage as per the video. Here I am only testing the unity application after building the scene ( a plane and a cube) by running it. The tutorial video shows a stereo display without any error message. I get a non stereo display with the above mentioned error message.

    Is there any way to solve this?
  • I'm having this same issue, unable to see the stereoscopic view in Unity. I have the consumer Gear VR and thought I could develop with it, but do I also need the DK2 hardware connected to my computer?

    Thanks