Forum Discussion
capwn
11 years agoHonored Guest
Can't get Unity5 and Oculus to work together
I'm really confused, I think more so because the last time I tried (successfully) was nearly a year ago with Unity4 and older SDKs/runtimes etc.
Firstly, getting the latest files seems to be a no no? Especially for me because even playing games outside of Unity it's saying my graphics card needs to be updated (it's the latest and it's a good card). So I'm trying to use older files.
I currently have oculus_runtime_sdk_0.6.0.1_win installed. Am using oculus_runtime_sdk_0.6.0.1_win. Yet I'm forced to use the latest 'Oculus Utilities for Unity 5 V0.1.3.0-beta' files because anything else crashes my Unity when I hit play.
Also, this seems to be a new thing but in the tutorial I'm following it insists that I use virtual desktop script to make it work with the rift (DK2)? It's mainly that what it likes the least. I'm getting things like;
"Assets/OVR/Scripts/OVRCamera.cs(28,7): error CS0246: The type or namespace name `OVR' could not be found. Are you missing a using directive or an assembly reference?"
So yeah, there are SO many elements that need bringing together without having any of them conflicting with each other. I can't even just reinstall everything here, any ideas?
Firstly, getting the latest files seems to be a no no? Especially for me because even playing games outside of Unity it's saying my graphics card needs to be updated (it's the latest and it's a good card). So I'm trying to use older files.
I currently have oculus_runtime_sdk_0.6.0.1_win installed. Am using oculus_runtime_sdk_0.6.0.1_win. Yet I'm forced to use the latest 'Oculus Utilities for Unity 5 V0.1.3.0-beta' files because anything else crashes my Unity when I hit play.
Also, this seems to be a new thing but in the tutorial I'm following it insists that I use virtual desktop script to make it work with the rift (DK2)? It's mainly that what it likes the least. I'm getting things like;
"Assets/OVR/Scripts/OVRCamera.cs(28,7): error CS0246: The type or namespace name `OVR' could not be found. Are you missing a using directive or an assembly reference?"
So yeah, there are SO many elements that need bringing together without having any of them conflicting with each other. I can't even just reinstall everything here, any ideas?
6 Replies
Replies have been turned off for this discussion
- cyberealityGrand Champion
- MikeFTrusteecurrently i'm using unity 5.2.0f3 and the 0.1.3 utilities integration (along with .7 runtime) and everything seems to work.
You mentioned that you're getting a message related to using an unsupported video card. what are your hardware specs in that regard? - capwnHonored Guestedit : All fixed now. Can see how I did it and what caused the problems below.
Thanks for the links, so it seems if I get all the latest drivers/updates it should work. Though in the second link it seems to suggest that you HAVE to have Windows 10 to make the latest SDK work? I only have Windows 7!
Otherwise, Main problem is that if I get latest runtime/SDK it says my graphics card needs to be updated yet I seem to have latest drivers installed. I'm going to reinstall it all now and post an image of what message I'm getting. Will post an image of the graphics card specs here now, I am currently up to date and have AMD catalyst driver (15.7.1) installed.
- capwnHonored GuestUpdated everything, yet I still get the error on the Oculus config. Says my graphics card needs to be updated to 15.10. I have 15.7 and it's saying that is the latest driver?

- capwnHonored GuestOk, got it working!
I specifically found driver 15.10 and installed, it still says that my driver is 15.7 and up to date which is odd, but after installing 15.10 it's working. I made a basic scene in Unity and dropped in Oculus Utilities, now when I play it seems to play in my DK just fine.
1)So do I really not need that VirtualDesktop script that the tutorial suggested, perhaps it was needed at the time of making the tutorial but it seems fine now?
2) So now, about 90%+ of older demos won't work with the new Oculus SDKs. Only those who update their demos to work with 0.7+ SDK will work. Is that right? - cyberealityGrand ChampionYes, you need the special VR version of the Nvidia/AMD driver, but it looks like you go it now.
You don't need any virtual desktop, I don't know why someone would tell you that.
The only content that will run in 0.7/0.8 are things made with recent SDKs, see the list here:
viewtopic.php?f=42&t=25898
Quick Links
- Horizon Developer Support
- Quest User Forums
- Troubleshooting Forum for problems with a game or app
- Quest Support for problems with your device
Other Meta Support
Related Content
- 9 months ago
- 5 years ago