Skip to main content
Participant
March 11, 2014

DllNotFoundException

Hey All

I've been having a bunch of issues regarding Unity and Dlls.

My scene using the Oculus ran perfectly a few weeks ago, and after adding Wwise to my project I've suddenly encountered this:



I've encountered similar with Wwise also (Link: http://i.imgur.com/uzLw09n.jpg)

I've tried dragging the Dlls into the root Unity Editor folder (in C:/Program Files.... etc) but... No dice. I've also searched other previous threads and tried updating the C++ also, again no dice. The weird thing is that the Tuscany demo still works; but my game does not.

Any advice? Thanks a bunch
-Alex
    This topic has been closed for replies.

    21 replies

    Participant
    November 25, 2014
    Hi all,

    I was able to reconstruct this problem and have fixed it in the recent version of 3Dception. It *might* be related to what some of you face:

    Unity by default seems to have a slightly undefined behaviour when loading plugins on 32 bit Windows/Linux. If the DLL is placed directly in the 'Assets/Plugins' folder it will pick it up with no problems reported. On the other hand, if a user places the DLL in 'Assets/Plugins/x86', it will search for the 32 bit plugins in that folder and NOT the parent 'Plugins' folder.

    With 3Dception we had created the x86 folder with our DLL placed in it. On running Unity on a 32 bit computer (or the Unity Editor on a 64 bit computer) it would therefore find the 3Dception DLL and not the Oculus dll. We've fixed this by removing the x86 folder. Some plugin developers use the x86 folder so it might be worth looking into if you face this issue.

    Hope this makes sense? If not, I'd be happy to elaborate.


    Hi,
    I've just come back to this to test out 3dception again with the Rift and I'm still having the same issues.

    Trying to follow your advice above, I tried removing the x86 folder but always ended up with a dll error. Also messed with removing the dlls from different folders but always ended up with either an OVR or 3dception error of some kind.

    I'm using unity pro 4.5.5, 64bit and your non commercial 0.6.0b win version.

    Keen to know how I can fix this to try both the Rift and 3dception.

    Cheers,
    Jay