Forum Discussion
LastNightmare
11 years agoExplorer
No HMD and sensor detected
Hello, I can use my DK2 to play demos, but when I try to view my Unity project on my rift it says that
I have the latest version of Unity and I'm running the DK2 in extended mode.
There's also a red message that says:
DllNotFoundException: OculusPlugin
But I have that plugin, in the root of plugins and another in x86_64 folder and I also tried creating a x86 folder and putting inside the dll
Thank you
I have the latest version of Unity and I'm running the DK2 in extended mode.
There's also a red message that says:
DllNotFoundException: OculusPlugin
But I have that plugin, in the root of plugins and another in x86_64 folder and I also tried creating a x86 folder and putting inside the dll
Thank you
7 Replies
Replies have been turned off for this discussion
- granciaHonored GuestCan you try to put the OculusPlugin in "C:\Program Files (x86)\Unity\Editor" folder?
Sometimes Unity shows that kind of bug and most of cases are resolved with putting the plugin in Editor folder. - LastNightmareExplorer
"grancia" wrote:
Can you try to put the OculusPlugin in "C:\Program Files (x86)\Unity\Editor" folder?
Sometimes Unity shows that kind of bug and most of cases are resolved with putting the plugin in Editor folder.
Thank you!! :D - y0sh1Honored GuestI´ve got the same problem in Unity3d. Copy the DLL in the Editor folder didn´t work for me :cry: I´ve uninstalled the whole Unity Software and all DK2 Software parts. After that i downgraded my MS Visual C++ 2012 x64 to a lower MS Visual C++ 2010 x64 Version. Then i installed the DK2 Software Parts (runtime) again an configured it. I´ve installed the Unity Software, downloaded the SDK for Windows again and extracted it into a seperate folder. I downloaded and extracted the OVR Unity 0.4.1 too. After loading the package in Unity and disable the DX11 support in the Project Settings i try to run a project with the OVRPlayer Prefabs and get the scene fading in and suddenly the screen went black "No HMD and Sensor detected. The DK2 is plugged into my USB 2.0 Ports and the video signal over HDMI. The DK2 is set to Extended Desktop to the HMD. I can start Demos like Don´t Let go or Ocean Rift without any problems. The tuscany demo works perfekt. I´ve got a Intel(R) Core(TM) i5-3570K CPU @ 3.40GHz (4 CPUs), ~3.4GHz and 16384MB RAM - NVIDIA GeForce GTX 670 4028MB -Windows 7 Home Premium 64-bit (6.1, Build 7601) Service Pack 1.
Please help me. - shadowheartHonored GuestOnly god can help you bro..
"y0sh1" wrote:
I´ve got the same problem in Unity3d. Copy the DLL in the Editor folder didn´t work for me :cry: I´ve uninstalled the whole Unity Software and all DK2 Software parts. After that i downgraded my MS Visual C++ 2012 x64 to a lower MS Visual C++ 2010 x64 Version. Then i installed the DK2 Software Parts (runtime) again an configured it. I´ve installed the Unity Software, downloaded the SDK for Windows again and extracted it into a seperate folder. I downloaded and extracted the OVR Unity 0.4.1 too. After loading the package in Unity and disable the DX11 support in the Project Settings i try to run a project with the OVRPlayer Prefabs and get the scene fading in and suddenly the screen went black "No HMD and Sensor detected. The DK2 is plugged into my USB 2.0 Ports and the video signal over HDMI. The DK2 is set to Extended Desktop to the HMD. I can start Demos like Don´t Let go or Ocean Rift without any problems. The tuscany demo works perfekt. I´ve got a Intel(R) Core(TM) i5-3570K CPU @ 3.40GHz (4 CPUs), ~3.4GHz and 16384MB RAM - NVIDIA GeForce GTX 670 4028MB -Windows 7 Home Premium 64-bit (6.1, Build 7601) Service Pack 1.
Please help me. - gavinkearneyHonored GuestJust checking - you are using Unity Pro, right? This only seems to work in Pro ..
- vrdavebOculus StaffPlease use Unity 4.6.1 and version 0.4.4 of the Oculus integration and runtime. All of those together should work fine with Unity Free.
- DeveroeHonored GuestHey there,
I have a quite similar problem.
Trying to build a Rift game in Unity 4.6.3f1, working on a late 2012 Mac Book Pro Retina.
Oculus Rift DK2 firmware is 2.12, demo scene and Tuscany demo are working just fine.
Have my MacBook Pro as master display, the OR on 1080p (not 948 x 1080), turned by 90° and on 75 Hz.
When I'm trying to start the Tuscany Demo in Unity (or just place the OVRPlayerController on a small surface) I do see everything correctly, but my head movements don't change my viewing perspective and I get a message in front of me saying "NO HMD DETECTED".
Also, I see the scene a bit brighter than it should be.
Any ideas?
UPDATE:
Alright, seems that I've SOLVED it for now!
Seems like I was using Oculus Runtime 0.4.3., but should've used 0.4.4. So I uninstalled all Oculus related programs (runtime, sdk, unity) and re-installed those programs in the following versions:
- Oculus SDK 0.4.4
- Oculus runtime 0.4.4
- Unity 4.6.1.
Made sure the Oculus Rift has firmware 2.12 on it and that it works in extended monitor mode. Laptop display is master, rift is slave.
Took the 'OculusUnityIntegration.unitypackage' from the OculusUnityIntegration and copied it into:
applications / Unity / Standart packages
Then opened unity, created a new project, gave it a name and selected 'OculusUnityIntegration.unitypackage' to load.
Then created a cube and just placed the OVRPlayerController on it.
Played it, worked. A bit shaky for now. The build also works, that I made according to the 'OculusUnityIntegrationGuide.pdf'.
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 years ago
- 2 years ago
- 4 years agoAnonymous
- 1 year agoAnonymous