- Home /
from Local Database on PC to Android.
Hello Devs ! Well, i'm working on a game where it's supposed to be a VR one, I'm doing everything on PC right now, even the database is local using WAMPServer, so when I'll have to switch to phone to be able to use the VR box, how difficult would that be, or is there any easy way to just do the trick ? And thanks in advance.
Answer by kala-hari · Jul 12, 2019 at 01:22 PM
If you want to run everything on Android in the future, you will probably have a hard time migrating your WAMP Server as well. If that's a requirement, it's probably better to figure out how you can access the WAMP Server over the LAN or the Internet.
If it is enough to directly access the Database from your Unity Application, it should be possible to use SQLite for that purpose. How difficult this is depends if you have to implement the bridge from Unity yourself or if you can reuse some third-party libraries. There seem to be several third-party librarys on github and on the Unity Asset store, but they don't look very well maintained. However, they still might be a good starting point. For example have a look at this medium article: https://medium.com/@rizasif92/sqlite-and-unity-how-to-do-it-right-31991712190