robertohuertasm / SQLite4Unity3d

SQLite made easy for Unity3d
MIT License
1.27k stars 265 forks source link

SQLite4Unity3d does not work when I build for x86 Windows standalone #90

Open Salbrox opened 6 years ago

Salbrox commented 6 years ago

Hi there,

Hopefully you can help as its important that I solve this issue soon. When I build my unity project with SQLite4Unity3d for 64bit it works no problem but when building for 32bit x86 architecture my data simply does not load. I have the correct DLLs and have even tried it with the provided examples in your repo and it doesnt work with those either.

I need this to work in a 32bit build as I am building for a HoloLens (only supports 32bit) project that I need to work urgently. So any help on this matter is very much appreciated!

sp958857 commented 5 years ago

because the sqlite3.dll in .../x86/ directory is built in AMD64 MACHINE

sp958857 commented 5 years ago

i think i figure out how to solve this: download the x86 dll from official website https://www.sqlite.org/2018/sqlite-dll-win32-x86-3250200.zip then replace the dll in this rep

Scal commented 5 years ago

Try to find dll and in Inspector set mark "Load on startup" and check ur settings its for x64: PaxEvT0 1 0W0Fj8u 1