SlideShare a Scribd company logo
Getting started with
Unity and Oculus Rift
SDK 0.4.4
Maia Cordero
Easy ? NOT ...
It can be tricky getting Unity and the Rift to work together
the first time. Below are the steps that worked for me.
References::
https://developer.oculus.com/documentation/
http://talesfromtherift.com/getting-started-with-unity-and-oculus-rift-sdk-0-4-0/
https://www.youtube.com/watch?feature=player_detailpage&v=iqgr4XCjpzk&x-yt-
ts=1422579428&x-yt-cl=85114404
https://share.oculus.com/app/oculus-tuscany-demo
and more ...
Step 1. Downloads you’ll need:
Download / Upgrade to Unity 4.6.2
http://unity3d.com/unity/download
Download the Oculus Runtime y Oculus SDK
https://developer.oculus.com/downloads/
Oculus Unity SDK documentation:
1.1 Requirements
You must have Unity Pro 4.5 or later installed on your system to build the Unity demo.
Much of these instructions can be found within the Oculus Unity Integration Guide (part of the Oculus
Unity SDK download).
Step 2. Install the
Oculus Runtime:
After installation, it will ask you to reboot (presumably
this is for the new Direct HMD driver). Do that.
Then run it START – Oculus Runtime –
OculusConfigTool
Note: If a firmware update is available you should
install that now.
Note 2: If you want to set your height in a profile
you can do that now also.
Test correctly installed
When the HDMI and USB are plugged in we can see the
information of the Oculus. The device does not need to
be powered on.
Add new User with your preferences. Turn on the device
and click on Show Demo Scene.
If you can see a scene with a desk and while turning your
head you can see different parts of the office, the
Oculus is working perfectly.
Step 3. Configure
the Oculus
Runtime:
To work within the Unity
Editor you have to use
Extended Desktop (not
Direct HMD Access):
Tools – Rift Display
Mode…
Step 4: Check the Rift resolution
is correct:
Now your Rift will appear as a normal monitor
to Windows and you can duplicated or extend
your windows desktop.
For me, that also meant the Windows
guessed the incorrect resolution. So open
Screen Resolution, and set it to 1280×800
(DK1) or 1920×1080 (DK2):
Step 5: Installing the Oculus
Unity SDK:
Unzip the SDK ovr_unity_0.4.4_lib.zip
I recommend copying both Unity packages to your Unity Standard Packages folder, that way they will
both appear in the New Project Wizard.
Copy OculusUnityIntegration.unitypackage and OculusUnityIntegrationTuscanyDemo.unitypackage
to the Standard Packages folder which is in your Unity Editor folder.
Typically here: C:Program Files (x86)UnityEditorStandard Packages
Note: If you don’t see it, make sure the folder is correct, view the properties on your Unity shortcut and
verify the folder path.
Step 6: Creating the Tuscany
Demo:
Launch Unity, and name your project (eg: Hello Tuscany) and checkmark the
Oculus Tuscany Demo package.
After clicking on Create you will see something like this...
Step 7: Disable Direct3d 11:
You need to make sure Direct3d 11 is disabled, otherwise you will see a black
screen.
Oculus Unity SDK documentation: 4.4.3 Editor Work
If you plan to run your application in the Unity editor, you must use
extended mode. A black screen will appear if you run it in direct mode.
Make sure “Use Direct3d 11″ is unchecked:
Edit – Project Settings – Player Settings
Also make sure Time Warp is check marked in the OVRCameraController (a
child of the OVRPlayerController)
Getting started with Unity3D and Oculus Rift
Step 8: Setup a Game view on
your Rift screen:
- Make sure your Rift is powered on and looking through it you see the desktop
- Drag the Game view tab OUTSIDE of Unity, but NOT onto the Rift display
(Optionally make resize is smaller if you prefer)
- Position your mouse just to the left of the maximise button (to the left of the close
button).
- Tap down (to drag), Hold your Rift to your eyes, and drag the game view onto your
Rift until you see the mouse pointer.
- Release the drag, move the mouse to tap on maximise and your set.
Only use “Free Aspect” with the Game View. Setting 16×10 (DK1) or 16×9 (DK2)
Finally, Exit Unity to double check the window position was saved for next time
Getting started with Unity3D and Oculus Rift
Step 9: Play Tuscany:
Re-open Unity, press PLAY button and put on your Rift. That’s it.
Enjoy Tuscany! And enjoy being able to see the Game view in the editor as well:

More Related Content

PDF
Making apps for the Apple TV
PDF
Mac story
PPTX
Leap ahead with windows 10
PDF
Unity 3 d
PDF
New World Studio - User Manual EN
DOCX
NVIDIA ShadowPlay Hotkey
PPTX
Unity 5 Overview
PPTX
Windows10
Making apps for the Apple TV
Mac story
Leap ahead with windows 10
Unity 3 d
New World Studio - User Manual EN
NVIDIA ShadowPlay Hotkey
Unity 5 Overview
Windows10

What's hot (20)

PPTX
Chapt 6 game testing and publishing
PPTX
Porting unity games to windows - London Unity User Group
PPTX
Game Development with Unity - by Mickey MacDonald
DOC
Readmex
ODP
Running Mageia 4, LiveDVD-GNOME
PPTX
Projector
PDF
How to be Successful on Google Play
PDF
Android SDK: How to Install
PPTX
Game Development Session - 3 | Introduction to Unity
PPTX
Develop on Android & Find Success on Google Play | Matteo Vallone
PPTX
Sony Erricson X1 Panel Development
PDF
Lecture 4: ITS488 Digital Content Creation with Unity - Game and VR Programming
PPTX
Windows 10 Deployment with Microsoft Deployment Toolkit
PPTX
How to upgrade from windows 7 to windows 10
PPT
Windos 7 presentation
PPTX
How to make your first HoloLens App?
PPTX
Android Oreo
PDF
ITS488 Lecture 6: Music and Sound Effect & GVR Try out.
PDF
DSC RNGPIT - Getting Started with Game Development Day 1
Chapt 6 game testing and publishing
Porting unity games to windows - London Unity User Group
Game Development with Unity - by Mickey MacDonald
Readmex
Running Mageia 4, LiveDVD-GNOME
Projector
How to be Successful on Google Play
Android SDK: How to Install
Game Development Session - 3 | Introduction to Unity
Develop on Android & Find Success on Google Play | Matteo Vallone
Sony Erricson X1 Panel Development
Lecture 4: ITS488 Digital Content Creation with Unity - Game and VR Programming
Windows 10 Deployment with Microsoft Deployment Toolkit
How to upgrade from windows 7 to windows 10
Windos 7 presentation
How to make your first HoloLens App?
Android Oreo
ITS488 Lecture 6: Music and Sound Effect & GVR Try out.
DSC RNGPIT - Getting Started with Game Development Day 1
Ad

Similar to Getting started with Unity3D and Oculus Rift (20)

PDF
ssssss
PDF
[1C7] Developing with Oculus
PDF
Developing VR Experiences with Unity
PPTX
Making High Quality Interactive VR with Unreal Engine Luis Cataldi
PPTX
Making High Quality Interactive VR with Unreal Engine Luis Cataldi
PDF
Developing VR in Unity
PDF
Let’s get real: An introduction to AR, VR, MR, XR and more
PDF
Getting started with Unity and AR/VR for the .NET developer... Reloaded!
PPTX
Intro to VR with Unreal Engine
PPTX
How to use oculus sdk in Unity
PPTX
Vision Summit 16 - Tips and Tricks for VR Game Development
PPTX
Getting started with immersive technologies
PDF
Introduction to mixed reality (XR)
PDF
SAE AR/VR - The challenges of creating a VR application with Unity
PPTX
Making VR with Unreal Engine Luis Cataldi
PPTX
Making VR games and experiences in Unreal Engine
PPTX
Making VR Games and Experiences in UE4
PPT
Introduction-to-Unity.ppt
PPT
Introduction-to-Unity de la aplicacion.ppt
PPT
Introduction-to-Unity.ppt
ssssss
[1C7] Developing with Oculus
Developing VR Experiences with Unity
Making High Quality Interactive VR with Unreal Engine Luis Cataldi
Making High Quality Interactive VR with Unreal Engine Luis Cataldi
Developing VR in Unity
Let’s get real: An introduction to AR, VR, MR, XR and more
Getting started with Unity and AR/VR for the .NET developer... Reloaded!
Intro to VR with Unreal Engine
How to use oculus sdk in Unity
Vision Summit 16 - Tips and Tricks for VR Game Development
Getting started with immersive technologies
Introduction to mixed reality (XR)
SAE AR/VR - The challenges of creating a VR application with Unity
Making VR with Unreal Engine Luis Cataldi
Making VR games and experiences in Unreal Engine
Making VR Games and Experiences in UE4
Introduction-to-Unity.ppt
Introduction-to-Unity de la aplicacion.ppt
Introduction-to-Unity.ppt
Ad

Recently uploaded (20)

PPTX
20250228 LYD VKU AI Blended-Learning.pptx
PDF
Reach Out and Touch Someone: Haptics and Empathic Computing
PDF
Getting Started with Data Integration: FME Form 101
PDF
MIND Revenue Release Quarter 2 2025 Press Release
PDF
Advanced methodologies resolving dimensionality complications for autism neur...
PDF
Blue Purple Modern Animated Computer Science Presentation.pdf.pdf
PPT
Teaching material agriculture food technology
PDF
Build a system with the filesystem maintained by OSTree @ COSCUP 2025
PDF
TokAI - TikTok AI Agent : The First AI Application That Analyzes 10,000+ Vira...
PPTX
KOM of Painting work and Equipment Insulation REV00 update 25-dec.pptx
PDF
Architecting across the Boundaries of two Complex Domains - Healthcare & Tech...
PPTX
Tartificialntelligence_presentation.pptx
PPTX
Big Data Technologies - Introduction.pptx
PDF
Per capita expenditure prediction using model stacking based on satellite ima...
PDF
Video forgery: An extensive analysis of inter-and intra-frame manipulation al...
PDF
Machine learning based COVID-19 study performance prediction
PDF
A comparative analysis of optical character recognition models for extracting...
PDF
NewMind AI Weekly Chronicles - August'25-Week II
PDF
Profit Center Accounting in SAP S/4HANA, S4F28 Col11
PDF
Approach and Philosophy of On baking technology
20250228 LYD VKU AI Blended-Learning.pptx
Reach Out and Touch Someone: Haptics and Empathic Computing
Getting Started with Data Integration: FME Form 101
MIND Revenue Release Quarter 2 2025 Press Release
Advanced methodologies resolving dimensionality complications for autism neur...
Blue Purple Modern Animated Computer Science Presentation.pdf.pdf
Teaching material agriculture food technology
Build a system with the filesystem maintained by OSTree @ COSCUP 2025
TokAI - TikTok AI Agent : The First AI Application That Analyzes 10,000+ Vira...
KOM of Painting work and Equipment Insulation REV00 update 25-dec.pptx
Architecting across the Boundaries of two Complex Domains - Healthcare & Tech...
Tartificialntelligence_presentation.pptx
Big Data Technologies - Introduction.pptx
Per capita expenditure prediction using model stacking based on satellite ima...
Video forgery: An extensive analysis of inter-and intra-frame manipulation al...
Machine learning based COVID-19 study performance prediction
A comparative analysis of optical character recognition models for extracting...
NewMind AI Weekly Chronicles - August'25-Week II
Profit Center Accounting in SAP S/4HANA, S4F28 Col11
Approach and Philosophy of On baking technology

Getting started with Unity3D and Oculus Rift

  • 1. Getting started with Unity and Oculus Rift SDK 0.4.4 Maia Cordero
  • 2. Easy ? NOT ... It can be tricky getting Unity and the Rift to work together the first time. Below are the steps that worked for me. References:: https://developer.oculus.com/documentation/ http://talesfromtherift.com/getting-started-with-unity-and-oculus-rift-sdk-0-4-0/ https://www.youtube.com/watch?feature=player_detailpage&v=iqgr4XCjpzk&x-yt- ts=1422579428&x-yt-cl=85114404 https://share.oculus.com/app/oculus-tuscany-demo and more ...
  • 3. Step 1. Downloads you’ll need: Download / Upgrade to Unity 4.6.2 http://unity3d.com/unity/download Download the Oculus Runtime y Oculus SDK https://developer.oculus.com/downloads/ Oculus Unity SDK documentation: 1.1 Requirements You must have Unity Pro 4.5 or later installed on your system to build the Unity demo. Much of these instructions can be found within the Oculus Unity Integration Guide (part of the Oculus Unity SDK download).
  • 4. Step 2. Install the Oculus Runtime: After installation, it will ask you to reboot (presumably this is for the new Direct HMD driver). Do that. Then run it START – Oculus Runtime – OculusConfigTool Note: If a firmware update is available you should install that now. Note 2: If you want to set your height in a profile you can do that now also.
  • 5. Test correctly installed When the HDMI and USB are plugged in we can see the information of the Oculus. The device does not need to be powered on. Add new User with your preferences. Turn on the device and click on Show Demo Scene. If you can see a scene with a desk and while turning your head you can see different parts of the office, the Oculus is working perfectly.
  • 6. Step 3. Configure the Oculus Runtime: To work within the Unity Editor you have to use Extended Desktop (not Direct HMD Access): Tools – Rift Display Mode…
  • 7. Step 4: Check the Rift resolution is correct: Now your Rift will appear as a normal monitor to Windows and you can duplicated or extend your windows desktop. For me, that also meant the Windows guessed the incorrect resolution. So open Screen Resolution, and set it to 1280×800 (DK1) or 1920×1080 (DK2):
  • 8. Step 5: Installing the Oculus Unity SDK: Unzip the SDK ovr_unity_0.4.4_lib.zip I recommend copying both Unity packages to your Unity Standard Packages folder, that way they will both appear in the New Project Wizard. Copy OculusUnityIntegration.unitypackage and OculusUnityIntegrationTuscanyDemo.unitypackage to the Standard Packages folder which is in your Unity Editor folder. Typically here: C:Program Files (x86)UnityEditorStandard Packages Note: If you don’t see it, make sure the folder is correct, view the properties on your Unity shortcut and verify the folder path.
  • 9. Step 6: Creating the Tuscany Demo: Launch Unity, and name your project (eg: Hello Tuscany) and checkmark the Oculus Tuscany Demo package.
  • 10. After clicking on Create you will see something like this...
  • 11. Step 7: Disable Direct3d 11: You need to make sure Direct3d 11 is disabled, otherwise you will see a black screen. Oculus Unity SDK documentation: 4.4.3 Editor Work If you plan to run your application in the Unity editor, you must use extended mode. A black screen will appear if you run it in direct mode. Make sure “Use Direct3d 11″ is unchecked: Edit – Project Settings – Player Settings Also make sure Time Warp is check marked in the OVRCameraController (a child of the OVRPlayerController)
  • 13. Step 8: Setup a Game view on your Rift screen: - Make sure your Rift is powered on and looking through it you see the desktop - Drag the Game view tab OUTSIDE of Unity, but NOT onto the Rift display (Optionally make resize is smaller if you prefer) - Position your mouse just to the left of the maximise button (to the left of the close button). - Tap down (to drag), Hold your Rift to your eyes, and drag the game view onto your Rift until you see the mouse pointer. - Release the drag, move the mouse to tap on maximise and your set. Only use “Free Aspect” with the Game View. Setting 16×10 (DK1) or 16×9 (DK2) Finally, Exit Unity to double check the window position was saved for next time
  • 15. Step 9: Play Tuscany: Re-open Unity, press PLAY button and put on your Rift. That’s it.
  • 16. Enjoy Tuscany! And enjoy being able to see the Game view in the editor as well: