Issue#1433: Unity - Simply detecting the oculus rift's presence [SOLVED]

  • Hi all,

    Could you please help me understand why the first 'if' clause works but the second one returns nothing?


    Code (CSharp):
    1.     void Start ()
    2.     {
    3.         if ( Ovr.Hmd.Detect() > 0 )
    4.             Debug.Log ( "Rift detected!" );
    6.         if ( OVRManager.display.isPresent && OVRManager.tracker.isPresent )
    7.             Debug.Log ( "Both display and tracker are present!" );
    8.     }

    0 Answers

    Sorry, your answer is too short !

  • Issue#13662: Unity - How run/test VR game without Oculus Rift Head?

    Hi All, I am starting with VR into Unity and I have not any Oculus Rift Head yet but I have read in a book (Oculus Rift in Action) that I could do a VR project with Unity although I have not this one at the moment. According this book I should include non Rift player Controller( and be sure to include using the mouse to control where the character looks) and then by enabling and disabling the appropriate player controllers I could test and run with or without the Rift attached, for it, Could... How run/test VR game without Oculus Rift Head?

  • Issue#53610: Unity - Windows Store and Oculus Rift

    I've been working on a project that uses the Oculus Rift in part of our product. We have been developing the oculus component in windows standalone mode, however we would like to distribute our app through the windows store. To that end, I have successfully ported the rest of product to run in both the .net core and il2cpp windows store backends but i am having some trouble with the Oculus Rift component. When i build the app for windows 8.1 using .net core (x86/master build variant) our... Windows Store and Oculus Rift

  • Issue#58915: Unity - Google Streetview in Oculus Rift HMD

    Hi, I received my Oculus Rift HMD a few days ago and developed a simple Google Streetview immersive viewer using Unity. Right now, I am using the Google Street View Image API (basically a url with coordinates and heading) to download 6 images to texture a cube with the stereo camera inside. A screenshot is attached. Anyone care to comment? Cheers, cybernaut

  • Issue#59047: Unity - iOS issue - Detecting iTunes Radio

    I'm currently looking into how to detect when iTunes Radio is active. I've Googled it but came up with nothing. Any help with this matter is greatly appreciated! Thanks.

  • Issue#62716: Unity - [Solved] Diagonal movement speed issue

    Hello. I am attempting to move my player up, down, left, and right on a 2d plane. However, I was getting what is apparently a common issue where diagonal movement was compounded by 2 different vectors equalling more than 1. The solution, apparently, is to normalize the vectors and then use those normalized vectors to move the object at the end of the function. The problem I am having now is that I can no longer move up or down, it only allows me to move left or right, and I can't figure out... [Solved] Diagonal movement speed issue

  • Issue#111702: Unity - Needed: The Creation of a Multiplayer, Oculus Rift and Leap Motion Friendly Game

    Needed: The Creation of a Multiplayer, Oculus Rift and Leap Motion Friendly Game =============================================================== I need a properly scaled, FPS, Unity application that will allow multiple people to login with the following abilities... Type: Unity 5.x application for Windows Native (not WebPlayer) - Login page where people can join - Settings on Login Page - (Oculus Rift Mode Yes or No), (Leap Motion Present Yes or No) - Navigate in game FPS (WASD or... Needed: The Creation of a Multiplayer, Oculus Rift and Leap Motion Friendly Game

  • Issue#111768: Unity - Need basic Punching RPG using Oculus Rift and Leap Motion

    Need basic Punching RPG using Oculus Rift and Leap Motion =============================================== Looking for a basic RPG fantasy 'Arena' type feel, or Science Fiction 'Arena' Feel, where the user can see their arms, and other NPCs. The NPCs approach, and you have to punch/chop, etc... whatever your arms and hands can do, to fight the NPCs. So it would be the common scenario, you've been captured, you need to fight your way out of the Arena by beating all the components, except... Need basic Punching RPG using Oculus Rift and Leap Motion

  • Issue#114717: Unity - Problems to build the game for Oculus Rift on OS X

    Hello! I have some problems to build the game for Oculus rift on macbook. I do not have any VR glasses to test, but I have to build the game for them. I know the man who has the glasses. He tried to test my last build - it does not work. I installed Oculus runtime for OS X, tried to import Oculus Utilities in the project. What I have to do else? PS I understand that some of the errors are just notification. They mean that I did not connect the glasses. I cannot do that because I do not... Problems to build the game for Oculus Rift on OS X

  • Issue#125738: Unity - Fix for reflection based effects - water, mirrors - when using Oculus Rift

    If you are applying a shader effect that requires a reflection camera, the reflection camera appears to be monoscopic, the result is that your render to texture will be monoscopic while the rest of your rendered world is stereoscopic. I posted this issue on the Oculus Forums and thanks to vrdaveb (Team Oculus) who provided a temporary solution: "make 2 copies of your camera and set their "Target Eye" to "Left" and "Right" instead of "Both"." This worked for me using Unity 5.3..2p1. I have... Fix for reflection based effects - water, mirrors - when using Oculus Rift

  • Issue#143701: Unity - Oculus Rift: Movement and rotation exaggerated + can't adjust near plane clip distance

    Hey guys, I am developing a simple virtual reality app and I use the Rift DK2. Latest Unity (5.3.2.f1), latest Oculus runtime (0.8), latest NVidia drivers on a 970 GTX. I enabled the Rift support via Project Settings > Player > Virtual Reality Supported. My "MainCamera" the grandchild of an empty object "PlayerObject", with my "CameraPositionObject" (also empty) sitting in between the two. Now I have two problems: 1) The headtracking (both rotation and translation) is exaggerated. Turning... Oculus Rift: Movement and rotation exaggerated + can't adjust near plane clip distance

  • Issue#159060: Unity - Oculus Rift 600$$ Ridiculous.

    So who's gonna spend 600 dollars on an Oculus Rift? I'm sure not going to. I would have spent 450 tops. Which is more than enough if you ask me. But 600 isn't cheap for anyone let alone the average consumer. So in y'alls opinions, do you think a 600 price tag will still leave it as a niche market to only the people with elite computers can actually enjoy? Or do you think people will wastefully spend money to get their hands on this amazing piece? Amazing or not, I can not justify a 600... Oculus Rift 600$$ Ridiculous.

  • Issue#161872: Unity - Strange behavior with Raycast and Oculus Rift

    I've been experiencing this strange "bug" it seems with my raycast in Unity using my Oculus Rift. So I've scripted a raycast, and used a Debug.DrawRay so I could visualize the ray and trouble shoot etc. I noticed that it would work for a while, and the ray would cast directly out the front of the camera shooting in a forward direction, but after a while ( perhaps, if I leave unity running for an hour or so, working on things on and off) the raycast would suddenly act almost as if it was... Strange behavior with Raycast and Oculus Rift

  • Issue#192297: Unity - 2D Hookshot Rotation issue with Raycast (Solved)

    Hi! I'm currently working on a 2D game where the hookshot is one of the main gameplay element/mechanic. The grappling will draw the player toward the end point, a bit like link grappling hook. It's working but it is not precise. There is an issue. The line of the raycast does not have the same angle of the line renderer I'm using as a grappling. I've been looking for what's wrong with this code for a while but can't get my head around it. I'm sure it's a stupid little error that is screwing... 2D Hookshot Rotation issue with Raycast (Solved)

  • Issue#249879: Unity - Oculus Cursor Shader Issue

    Hi everyone! I've got what I hope is a quick question, I've been using a shader provided by Oculus for my cursor, it's been working great but I recently updated Unity to the latest 5.3.3 and the cursor isn't working the way it used to, well actually it works almost the same, the difference now is that the cursor is much darker than it used to be. Previously it was quite a strong red colour but now it a very dark red. Nothing I'm aware of has changed besides the update to 5.3.3. The shader... Oculus Cursor Shader Issue

  • Issue#265801: Millenium Falcon Exploration made with Unity 5 beta, also Oculus Rift ready

    So I'm currently fiddling around with the Unity 5 beta to get to know all the new graphics features, I'll lit a millenium Falcon Model (thanks to Sean Kennedy) See all Screenshots on the Oculus Share Page It's an Experience for Oculus Rift but has a fallback mode for normal displays! Except the outside hull of the Falcon, which uses a... Millenium Falcon Exploration made with Unity 5 beta, also Oculus Rift ready

  • Issue#294561: ARToolkit, Oculus and Unity 5.3 - Headtracking Issue

    Hi, I've recently been creating an Augmented Reality game, using ARToolkit, Unity 5.3 and an Oculus Rift, with a Camera mounted to it. I've ran into an issue when trying to display my camera feed through the Oculus. By default when I enable VR, headtracking is enabled. However, since the Camera is attached to the Rift, there is no need for this, causing a number of issues. So as all I want to do is display what is being shown on the Camera on the Oculus' Screens, I need to find a way to... ARToolkit, Oculus and Unity 5.3 - Headtracking Issue

  • Issue#310794: Unity - htc vive or oculus rift ??

    hi Whats better now ?? htc vive or oculus rift ?? htc vive 1000€ oculus rift 700€ htc come this march and oculus rift come in EU July!!

  • Issue#321144: Unity - Enabling Oculus Rift for a Standalone Build

    Is there any way to enable a Unity3D standalone build to work with Oculus Rift if, while developing, the Virtual Reality Supported option was not checked? I have a standalone build that does not work with Oculus Rift, but I do not have access to its Unity3D project, and as far as I can see, there are no options for this when you run the standalone build file...

  • Issue#323843: Unity - [BETA] Motion Sickness Eliminator Oculus Rift

    Motion sickness is a large issue in VR especially in games that involve a first person controller. At Babilin Apps we have experimented with a few techniques to allow users to experience VR without the motion sickness. To solve this issue, we had to consider the reason for motion sickness. Motion sickness... [BETA] Motion Sickness Eliminator Oculus Rift

  • Issue#375761: Unity - Oculus Rift compatibility tool GPU questions

    Hello! I know this is a very simple question, but I don't know how to answer it myself or where else to ask it. I'm considering getting an Oculus Rift (mostly for development). Anyway, I have a Surface Pro 4 - 256GB / Intel Core i7 - 8GB RAM, and I downloaded the Oculus Rift compatibility tool for Windows and ran it. Everything seems fine except for my GPU. I have... Oculus Rift compatibility tool GPU questions

  • Issue#390263: Unity - Oculus Rift - show both eyes in editor / PIE?

    Using latest Unity and Oculus plugins / SDK, I see only a single eye's view in the editor. For debugging, I'd really like to see both eyes side-by-side, like when "mirror mode" is enabled in other Rift demos. At the moment, I have to put the headset on and close each eye to see the different points-of-view. This makes it difficult to oh, say, tell if your app happens to be rendering monoscopic and just duplicating the content between displays. Suggestions? Examples? Ideally, for a test,... Oculus Rift - show both eyes in editor / PIE?

  • Issue#430628: Unity - Gamma Difference on Oculus Rift Headset - surfaces snap to black

    I'm working on a game on the Rift that takes place in low light. In the Editor, as I get the light intensity very low, I can get very near to black without getting all the way there. However, when viewing on the rift, everything is a little brighter (a lot actually) - like the gamma is brighter on the Rift or something. What this means is that when I try and get the light really low (like a dark blue moonlight (directional light)), as I approach smaller values - the surfaces lit by the... Gamma Difference on Oculus Rift Headset - surfaces snap to black

  • Issue#435972: Unity - Mind Unleashed - Oculus Rift CV1 (VR)

    Hi everybody! I'd like to introduce you to Mind Unleashed,my sci-fi FPS title coming soon on steam ( It's a replayable VR game,where you need to defeat 15 enemy waves without die. Each TOT waves you're gonna defeat a boss and you'll be able to change environment. This way you'll be able to explore different kind of environments in VR while shooting and fighting for your own life. You can pick up... Mind Unleashed - Oculus Rift CV1 (VR)

  • Issue#500157: Unity - Oculus rift simulation for Cardiopulmonary resuscitation (CPR)

    Dear friends If anybody has been working on the simulation for CPR simulation, do let us know kindly. We are working on a project to raise awareness regarding CPR in our community.. For the same we were looking for already made samples or projects on CPR simulation so that we could have a head-start and get a chance to better the project.

  • Issue#585565: Unity - Weird Issue - Solved

    Hi there, this is probably something really stupid am just not seeing but am having a issue. for some reason Back,Left and Down are refusing to register even thou the block rotations are correct I should point out that the blocks are children of another object hence the use of Local rotation. I find it weird that Forward,Right and Up are all working correct. Please help my head hurt. Thanks in advance =) Code (CSharp):         Debug.Log(Block.localRotation.eulerAngles.y);         if... Weird Issue - Solved

  • Issue#592762: Unity - Stereo image sequence as texture (for use with oculus rift)

    So I'm trying to accomplish something with the oculus rift, similar to the vr-cinema demo (see Avatar vr-cinema ) What I will have is a left and right eye image sequence that should be used as a texture on a virtual screen. I currently have this working as an anaglyph stereo image mapped as a texture. What I need... 1. Render the screen geometry with the left image through the left camera. 2.... Stereo image sequence as texture (for use with oculus rift)

  • Issue#600436: Unity - [SOLVED]Detecting what side of s box collider is hit through ray casts

    I am trying to do exactly what this name of this thread says. I found this on unity answers: and followed the instructions given. Right now it only kind of works but it is very inaccurate and seems like it just gives me a random output in the console when I test it. I would like to request help fixing my code. This is my code: Code (CSharp): if (hit.transform.tag == "Enemy") {... [SOLVED]Detecting what side of s box collider is hit through ray casts

  • Issue#611451: Does OpenVR/SteamVR support Oculus Rift or no Vive, in Unity?

    In Unity, using OpenVR and SteamVR, does it out the box support: 1) No Vive, i.e. can control with mouse, similar to Google Cardboard (i.e. holding down [Alt]) 2) Oculus Rift (ex. DK2), or is this a legal licensing issue? Thank you in advance! PS: join our daily unity and vr dev stream for funsies at

  • Issue#618155: Unity - Oculus Rift Camera Offset.

    HI all. I just returned to some all DK2 projects that I made in the first half of 2015. It seems there's been some sort of changes to the Oculus Rift drivers, because now all of my old projects have these really severe vertical camera offsets. If I calibrate the rift to put my default position in a particular place, then I keep my head exactly there, when I press play in Unity, the camera moves up pretty dramatically so that most of my GUI is off the screen. Anybody encountered this... Oculus Rift Camera Offset.