Skip to main content
Up and Coming
May 27, 2013

DllNotFoundException oculusplugin.dll

Hi,
When I play the Unity demos in my windows I have an error of dll not found.

All the Unity demos say the same error from the output_log.txt.

DllNotFoundException: C:/Users/Alvaro/Downloads/ovr_unity_0.2.2_demo/OculusUnityDemos/Win_OculusUnityDemoScene_Data/Plugins/OculusPlugin.dll
at (wrapper managed-to-native) OVRDevice:OVR_IsHMDPresent ()

at OVRDevice.IsHMDPresent () [0x00000] in <filename unknown>:0

at OVRMainMenu.CheckIfRiftPresent () [0x00000] in <filename unknown>:0

at OVRMainMenu.Start () [0x00000] in <filename unknown>:0

(Filename: Line: -1)

DllNotFoundException: C:/Users/Alvaro/Downloads/ovr_unity_0.2.2_demo/OculusUnityDemos/Win_OculusUnityDemoScene_Data/Plugins/OculusPlugin.dll
at (wrapper managed-to-native) OVRDevice:OVR_Update (OVRDevice/MessageList&)

at OVRDevice.Update () [0x00000] in <filename unknown>:0

(Filename: Line: -1)



The plugin is in the indicated folder.

I 'm running in a Windows 7 64 bits native as a BootCamp in a Mac Book Pro.
The other demos works fine, but the .exe unity3d don't work.

I tried with 32 bits coampitiblity, putting the .dll to system32 folder, but allways the same error...:((
Any ideas?


Thanks.
Alvaro
    This topic has been closed for replies.

    25 replies

    Inspiring
    February 17, 2015
    There should be NO DLLs in the "Plugins" folder, Oculus or otherwise. If there are any DLLs in there, they need to be deleted or moved. The only DLLs should be in the "x86_64" 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
    February 19, 2015
    @cybereality: As ever, spot on! Thank you..
    Up and Coming
    March 3, 2015
    ´
    Just a brief post to say that every time I launch Unity and turn on my Rift, depending on which is done first, I get a lot of error messages (2 images attached to show some of them) but they all go away and life becomes normal again once I re-start Oculus service and re-launch Unity. No idea why, but hopefully it will all be addressed and resolved soon...

    err_msg_i.PNG

    err_msg_ii.PNG
    Inspiring
    March 3, 2015
    Can you share some info about your computer? System specs, OS, Unity version?
    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
    March 4, 2015
    ____________________________________

    Unity 5.0.0f2 Beta (Pro)
    Oculus SDK 0.4.4
    Windows 8.1 (64 bit)
    NVIDIA GeForce GTX 970
    ____________________________________

    Thanks cybereality