BadImageFormatException Error on HoloLens
CanYalcin opened this issue · 1 comments
I'm trying this examples on HoloLens.
When I try to use
"new SQLiteConnection(databasePath, SQLiteOpenFlags.ReadWrite | SQLiteOpenFlags.Create);"
function, I get
"BadImageFormatException: An attempt was made to load a program with an incorrect format. (Exception from HRESULT: 0x8007000B)"
this error. People says that it's 32bit-64bit compability error.
In Unity project, my settings are:
Build platform: UWP
Target Device: HoloLens
Architecture: x86
Scripting Backend: .Net
I tried examples directly, didn't work. I changed sqlite3.dll platform settings scripting backend to Dot net, didn't work. I deleted "plugins/x64" folder, didn't work. I exclude all platforms from "plugins/x64/sqlite3.dll", didn't work. Is there any solution for this?
I downloaded the file in this link and changed dll in "plugins/x86/" folder. It worked.