Forum Discussion

🚨 This forum is archived and read-only. To submit a forum post, please visit our new Developer Forum. 🚨
dyllandry's avatar
dyllandry
Honored Guest
11 years ago

DllNotFoundException: Oculus Plugin

I am getting the error at the bottom of the screen- "DllNotFoundException: OculusPlugin"
The screen of the game is black and says "NO HMD AND SENSOR DETECTED"

Linked is a picture of where the file is. The plugin is obviously there. I've been having a lot of difficulties getting this to work. It is the trial pro version so it should work.
http://imgur.com/0FdPpvQ

7 Replies

Replies have been turned off for this discussion
  • Try moving the OculusPlugin.dll to the "x86_64" folder. There should be no dlls in the "Plugins" folder.
  • I was able to drag in the plugin through the explorer option but it turns out there is a copy of the plugin already in the x86_64 folder.
  • It is a quite old topic but since I am reproducing this error I am updating it. Please feel free to redirect me to a more suitable topic/place if necessary.

    I have created a new project on Unity 4.6.1p5 and imported the OculusUnityIntegration unity package in it and just created a simple scene with the OVRPlayerController prefab and the debug console is flooded with the "DllNotFoundException: OculusPlugin".

    The Plugin folder looks ok, with dlls at the right places (See attachement).

    This is not happening with another install of Unity 4.5.5f1 I have. So there is apparently a compatibility issue with the latest Unity 4.6.1 patches. I have not tested other patches yet, neither the unpatched install but I need to work on this version for gear vr projects purpose.

    Where is the most suitable place to report these issues ? Is there a bug reporter ?
  • I was able to see the problem on my machine too.

    I'd recommend reverting back to 4.6.1p4 until we can fix the problem. Thanks.
  • Fai's avatar
    Fai
    Honored Guest
    Please try the following steps.
    1. save Scene and Project.
    2. quit Unity.
    3. restart Unity. :shock:
  • I have the same issue. Started from an empty project, added OculusUnityIntegration.unitypackage, replaced Main Camera with the prefab from the package, hit run, and it says DllNotFoundException. If I then save this project and try to reopen it, Unity crashes.

    Unity Pro 4.6.2, Unity 4 Integration 0.4.4-beta, Windows 7 64 bit.