Busta117 / SQLiteUnityKit

Framework to connect with a SQLite database from Unity for iOS, Android, MAC , Windows
300 stars 77 forks source link

Using it for WebPlayer #4

Open arol opened 10 years ago

arol commented 10 years ago

Is there a way to use it with Unity WebPlayer? I don't care if the db is hosted on a server or is added in the bundle.

The problem is that WebPlayer doesn't have permissions to write files, so when it's loaded it can't copy the file. Then sqlite3_open needs the local path, and fails if url is passed.

How can I do it?

Thank you for this awesome library!

GoogleBot42 commented 10 years ago

Unfortunately no. This is because the web player doesn't support native code (for obvious security reasons).