Quantcast
Channel: Unity Forum
Viewing all articles
Browse latest Browse all 1466670

Cant connect to sqlite database after building

$
0
0
Hi guys i have a problem on connecting to sqlite database after building my standalone game on windows, it works fine when i play it in editor. I don't know how to fix it since I am new in using sqlite in unity. Any suggestions will help. thanks.

BTW here is my sample code

Code (CSharp):
  1. void Awake () {
  2.  
  3.         _path = "URI=file:";
  4.         _path += Application.dataPath.Substring (0, Application.dataPath.LastIndexOf ('/'));
  5.         _path += @"/Assets/WordsDB/Words.sqdb";
  6.  
  7.         Debug.Log...
Cant connect to sqlite database after building

Viewing all articles
Browse latest Browse all 1466670

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>