Quantcast
Channel: Questions in topic: "dllnotfoundexception"
Viewing all articles
Browse latest Browse all 201

Why does my DLL only throw a DllNotFoundException in the Editor?

$
0
0
I'm using sqlite3, both x86 and x86_x64. Unity version is 5.3.0f4. The dlls are in Assets/Plugins/x86 and Assets/Plugins/x86_64 as they should be, but regardless of what I do the Editor doesn't seem to recognize the DLL. I get the DllNotFound Exception whenever my code attempts to .Open the db stored in a file. When I build the project, however, everything runs fine and the correct version of the DLL is used. I've checked to make sure they are marked native and checked x86/x86_x64 as appropriate. Both DLLs do actually exist in the file system as well. I have attempted reopening my C# project, reimporting assets, and setting mono.data.sqlite (in the plugins folder) import settings for standalone to x86 and x86_x64 with no luck. I've found answers to the opposite of this question, but no answers in those were able to apply to my situation.

Viewing all articles
Browse latest Browse all 201

Trending Articles