Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

BadImageFormatException Error on HoloLens #108

Closed
CanYalcin opened this issue May 19, 2020 · 1 comment
Closed

BadImageFormatException Error on HoloLens #108

CanYalcin opened this issue May 19, 2020 · 1 comment

Comments

@CanYalcin
Copy link

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?

@CanYalcin
Copy link
Author

#90 (comment)

I downloaded the file in this link and changed dll in "plugins/x86/" folder. It worked.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant