Wayback Machinekoobas.hobune.stream
May JUN Jul
Previous capture 13 Next capture
2021 2022 2023
1 capture
13 Jun 22 - 13 Jun 22
sparklines
Close Help
  • Products
  • Solutions
  • Made with Unity
  • Learning
  • Support & Services
  • Community
  • Asset Store
  • Get Unity

UNITY ACCOUNT

You need a Unity Account to shop in the Online and Asset Stores, participate in the Unity Community and manage your license portfolio. Login Create account
  • Blog
  • Forums
  • Answers
  • Evangelists
  • User Groups
  • Beta Program
  • Advisory Panel

Navigation

  • Home
  • Products
  • Solutions
  • Made with Unity
  • Learning
  • Support & Services
  • Community
    • Blog
    • Forums
    • Answers
    • Evangelists
    • User Groups
    • Beta Program
    • Advisory Panel

Unity account

You need a Unity Account to shop in the Online and Asset Stores, participate in the Unity Community and manage your license portfolio. Login Create account

Language

  • Chinese
  • Spanish
  • Japanese
  • Korean
  • Portuguese
  • Ask a question
  • Spaces
    • Default
    • Help Room
    • META
    • Moderators
    • Topics
    • Questions
    • Users
    • Badges
  • Home /
avatar image
1
Question by Vice_Versa · May 09, 2015 at 07:21 AM · unity 5not workingoculusriftscreen resolution

getting the oculus rift dk2 to work in unity 5(hmd mode)

So a few months back i bought an oculus rift dk2. I can get it to work fine with games and apps i download online, sometimes in direct to hmd mode, sometimes i have to duplicate the desktop, but it works i know that much. When i tried actually developing for it, I believe i was still using unity 4 back then, i remember going through all of this for hours and eventually giving up on getting it to work with unity.

now, i just got the leap motion mount and really want to start devloping for vr with it. I assumed with unity 5 the problems i have been having (see below) would be fixed, sadly, i am still getting the same results and cant find a real solution to my problem anywhere online. I remember reading somewhere that unity 5 uses direct x 11 and turning that off will fix it but that crashes unity every time and then turns it back on when i re-open the project. Anyway here is what happens when i try to use the oculus with unity.

  • if i choose direct to hmd mode, the light on the oculus is orange, the screen is black but the motion controls seem to be working (i can see the game view on my tv)
    • if i choose extend to desktop mode on my oculus and in screen resoulition i choose "show only on desktop one" smae thing, orange light, black oculus screen, but now the motion controls are not working on my tv

    • if i choose extend to desktop mode and in screen resolution choose "show only on desktop 2" then the oculus just shows everything that was on my monitor, but instead of getting that "vr look" (3d looking) everything in the game view is in two seperate 2D displays and the motion controls are still not working.

    • if i choose to duplicate these displays in the screen resolution, it shows whatws on my monitor, motion controls are not working, and now everything on my tv is sideways.

    • if i choose to extend these displays, the blue light on the oculus is on, the motion controls are working, but the screen is still black. (so far this is the closest ive gotten to it working)

    • while still in extend these displays, if i check "set this as my main display" for the oculus, the blue light is on, the motin controls work, my desktop is shown ONLY in the left eye and the game itself is still being shown on the monitor

    • while still in this mode and screwing around with the portrait and landscape settings between the two displays, i noticed that the left eye shows half of my desktop, the right eye is black but i can move the mouse over there (my background is black so it might just be that) im sure everybody who has an oculus rift has had this problem ive tried everything i can think of, this entire process is a huge pain in the ass. so...

Has anybody actually gotten the oculus rift dk2 to work with a unity 5 game they are working on (not an executable from the internet)? If so How did you do it? and do i have to use weird settings in "extend to desktop mode" or is there any way to get this working in "direct to hmd" mode?

I dont think this really matters but im running windows 8.1, unity 5, my monitor is a panasonic tv, quad core i7 processor, 16 gb of ram, 4095MB NVIDIA GeForce GTX 745 graphics card

Comment
Add comment
10 |3000 characters needed characters left characters exceeded
▼
  • Viewable by all users
  • Viewable by moderators
  • Viewable by moderators and the original poster
  • Advanced visibility
Viewable by all users

1 Reply

· Add your reply
  • Sort: 
avatar image
1
Best Answer

Answer by Vice_Versa · May 10, 2015 at 03:40 PM

So for anybody else having this problemi figured it out. First of all, use direct to hmd mode for the oculus. second, dont do anything for the screen resolution for your computer, leave it how it is. the oculus will not work in play mode for unity, you have to build the project. if you use the oculus assets, you will automatically have an executable called ProjectName_DirectToRift.exe. if you click on that the project should show up in the oculus. thats all there is to it, pretty simple.

Comment
Add comment · Show 2 · Share
10 |3000 characters needed characters left characters exceeded
▼
  • Viewable by all users
  • Viewable by moderators
  • Viewable by moderators and the original poster
  • Advanced visibility
Viewable by all users
avatar image avann · Nov 28, 2015 at 05:56 AM 0
Share

@Vice_Versa Thank you for finding a fix for this! I am currently having the same issue in which "the light on the oculus is orange, the screen is black but the motion controls seem to be working." How do you use oculus assets to get a ProjectName_DirectToRift.exe?

avatar image avann · Nov 28, 2015 at 09:43 AM -1
Share

@Vice_Versa Thank you for finding a fix for this! I am currently having the same issue in which "the light on the oculus is orange, the screen is black but the motion controls seem to be working." How do you use oculus assets to get a ProjectName_DirectToRift.exe?

Your answer

Hint: You can notify a user about this post by typing @username

Up to 2 attachments (including images) can be used with a maximum of 524.3 kB each and 1.0 MB total.

Follow this Question

Answers Answers and Comments

3 People are following this question.

avatar image avatar image avatar image

Related Questions

Unity 5.1 Oculus support broken for Mac? 3 Answers

360 panorama in Browser, HTCVive, Oculus Rift 0 Answers

My code will not change Canvas Text at all [No errors] 3 Answers

360 video to oculus using unity,VR Video to Oculus Rift using Unity 0 Answers

Transform.position not working properly? 2 Answers


Enterprise
Social Q&A

Social
Subscribe on YouTube social-youtube Follow on LinkedIn social-linkedin Follow on Twitter social-twitter Follow on Facebook social-facebook Follow on Instagram social-instagram

Footer

  • Purchase
    • Products
    • Subscription
    • Asset Store
    • Unity Gear
    • Resellers
  • Education
    • Students
    • Educators
    • Certification
    • Learn
    • Center of Excellence
  • Download
    • Unity
    • Beta Program
  • Unity Labs
    • Labs
    • Publications
  • Resources
    • Learn platform
    • Community
    • Documentation
    • Unity QA
    • FAQ
    • Services Status
    • Connect
  • About Unity
    • About Us
    • Blog
    • Events
    • Careers
    • Contact
    • Press
    • Partners
    • Affiliates
    • Security
Copyright © 2020 Unity Technologies
  • Legal
  • Privacy Policy
  • Cookies
  • Do Not Sell My Personal Information
  • Cookies Settings
"Unity", Unity logos, and other Unity trademarks are trademarks or registered trademarks of Unity Technologies or its affiliates in the U.S. and elsewhere (more info here). Other names or brands are trademarks of their respective owners.
  • Anonymous
  • Sign in
  • Create
  • Ask a question
  • Spaces
  • Default
  • Help Room
  • META
  • Moderators
  • Explore
  • Topics
  • Questions
  • Users
  • Badges