- Home /
WebGL + Sqlite3
I am using a sqlite wrapper that used 'DLLImports' to use sqlite but then I was getting the error:
Unsupported internal call for IL2CPP:LibraryLoader::LoadDynamicLibrary
- "Pinvoke is not yet supported on Posix platforms."
After this I moved to using Mono.Data.Sqlite hoping since it did not require the DLLImport it would not throw this error. after rewriting my adapter it appears to be just a wrapper as I am still getting the error.
So is there a way to communicate with a sql database on WebGL? any ideas where to go from here?
Thanks!
Yes using Unity builds to WebGL in beta 5. I am running Unity 5.0.0b20
I added the tag "il2cpp" so we can keep track of any issues that we can fix in our patches.
Answer by Chris333 · Jan 21, 2015 at 03:26 PM
Hi, iam using this solution. It uses the www class of unity to send requests to a php file which handles the mysql connection. http://wiki.unity3d.com/index.php/Server_Side_Highscores
I was thinking I might have to go that way. Thanks for the link. is the delay noticeable?
I'am pulling some informations out of a magento system and it is atm O$$anonymous$$.
Still have a little concern of lag so I am going to attempt to use JSLib along with IndexDB to communicate with a browser embedded sql library.