Search Unity

  1. Megacity Metro Demo now available. Download now.
    Dismiss Notice
  2. Unity support for visionOS is now available. Learn more in our blog post.
    Dismiss Notice

Rift layout showing in Unity editor

Discussion in 'AR/VR (XR) Discussion' started by HamFar, Feb 13, 2015.

  1. HamFar

    HamFar

    Joined:
    Nov 16, 2014
    Posts:
    89
    '
    Even when my Oculus is turned off, I get the goggles layout, as seen in the attached picture. I have written some code to make sure these 2 states (Rift on & off) are distinguished and treated accordingly, but I still get this. And my unity editor freeze! I would appreciate any help or tip...

    Code (CSharp):
    1. if ( Ovr.Hmd.Detect() > 0 )
    2. {
    3.     Debug.Log( "Oculus Rift HMD detected!" );
    4.     Debug.Log( "Profile in use: " + OVRManager.capiHmd.GetString( Hmd.OVR_KEY_USER, "" ) );
    5.     oculusPresent = true;
    6.     standardController.SetActive( false );
    7.     transform.parent = oculusController.transform;
    8. }
    9. else
    10. {
    11.     Debug.Log( "No Oculus Rift detected..." );
    12.     oculusPresent = false;
    13.     oculusController.SetActive( false );
    14.     transform.parent = standardController.transform;
    15. }
    noRIFT.png

    '
     
  2. JDMulti

    JDMulti

    Joined:
    Jan 4, 2012
    Posts:
    384
    It's hard coded into the plugin of the Oculus Rift. When you start the application and runs the plugin, you get this message. In the past there was an option to turn this off. So far I know this has been removed and now you can't. This has to do with USA way of living, that when someone gets sick without being warned, they can start a lawsuit against Oculus for not warning the user. Stupid but... well yeah we have to deal it I guess. Unless someone tells me now you can disable it.
     
  3. HamFar

    HamFar

    Joined:
    Nov 16, 2014
    Posts:
    89
    Thank you JDMulti. I hope someone will tell us how to disable it...
     
  4. HamFar

    HamFar

    Joined:
    Nov 16, 2014
    Posts:
    89
    Having upgraded to Unity 5 Beta (Pro) I still get this Oculus view layout.
    I heard it was addressed in Unity 5 Beta...
    Has anyone learned a way to disable it, or at least properly switch to one another?