Sqlite error on webplayer build

My game uses sqlite for high scores and I’m having some issues building a webplayer of my game on unity3.

Prior to Unity3 I was including sqlite like this:

import Mono.Data.SqliteClient;

When I ported to Unity3 this gave me errors so I replaced it with

import Mono.Data.Sqlite;

Which made it compile.

Now that Unity3 is out and I can build webplayers I get this error when I try to build for web:

Namespace ‘Mono.Data.Sqlite’ not found, maybe you forgot to add an assembly reference?

Which cancels the build process, I don’t have this problem when building stand alones.

Is this a bug of some sort or is there something special that I must do for webplayers?

how would you use sqllite on the webplayer, you can not use any file access etc at all

Good point, Now I remember we were using sqlite for authentication on standalones, and mysql for high scores.

I guess I need to use a preprocesor conditional to make it work.