unity引用sqlite时报错

再用另一个电脑开发工程时会遇到

	System.DllNotFoundException: sqlite3 at (wrapper managed-to-native) 
	Mono.Data.SQLite.UnsafeNativeMethods:sqlite3_open_v2 (byte[],intprt&,int,intptr)

这个问题。原因是另一个电脑无法引用到sqlite3.dll。

解决方法是从本机重新找一个sqlite3.dll文件拷贝到Plugins目录下即可。

你可能感兴趣的:(unity3D,c#)