robertohuertasm / SQLite4Unity3d

SQLite made easy for Unity3d

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

SQLite4Unity3d does not work when I build for x86 Windows standalone

Salbrox opened this issue · comments

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!

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

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

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