Skip to main content
New Participant
October 16, 2014

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
    This topic has been closed for replies.

    7 replies

    Inspiring
    October 16, 2014
    Try moving the OculusPlugin.dll to the "x86_64" folder. There should be no dlls in the "Plugins" folder.
    AMD Ryzen 7 1800X | MSI X370 Titanium | G.Skill 16GB DDR4 3200 | EVGA SuperNOVA 1000 | Corsair Hydro H110i Gigabyte RX Vega 64 x2 | Samsung 960 Evo M.2 500GB | Seagate FireCuda SSHD 2TB | Phanteks ENTHOO EVOLV
    dyllandryAuthor
    New Participant
    October 17, 2014
    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.
    Inspiring
    October 17, 2014
    Then make sure to delete all DLLs from the main Plugins folder.
    AMD Ryzen 7 1800X | MSI X370 Titanium | G.Skill 16GB DDR4 3200 | EVGA SuperNOVA 1000 | Corsair Hydro H110i Gigabyte RX Vega 64 x2 | Samsung 960 Evo M.2 500GB | Seagate FireCuda SSHD 2TB | Phanteks ENTHOO EVOLV
    Up and Coming
    January 28, 2015
    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 ?
    Inspiring
    January 28, 2015
    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.
    AMD Ryzen 7 1800X | MSI X370 Titanium | G.Skill 16GB DDR4 3200 | EVGA SuperNOVA 1000 | Corsair Hydro H110i Gigabyte RX Vega 64 x2 | Samsung 960 Evo M.2 500GB | Seagate FireCuda SSHD 2TB | Phanteks ENTHOO EVOLV
    Participant
    January 29, 2015
    Please try the following steps.
    1. save Scene and Project.
    2. quit Unity.
    3. restart Unity. :shock:
    KaleidoPlayer More immersive and realistic to 2D and 3D videos
    New Participant
    January 31, 2015
    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.