Hello, I’m making a quiz game more or less. I’m stuck in a problem with the paths because I’m triying to make a dev build for android but when it’s complete and I install it the game load a empty screen and nothing shows up.
In the computer all works fine and I can also get the question using something like this
//this for download the questions:
WebClient client = new WebClient();
client.DownloadFile("http://keruanima.com/grownups.txt",Application.dataPath + "/Resources/TextFile/grownups.txt");
//this to make the list of questions:
string curline; //current line
StreamReader fileAdults = new System.IO.StreamReader(Application.dataPath + "/Resources/TextFile/grownups.txt");
while ((curline = fileAdults.ReadLine()) != null)
{
adultQuestions.Add(curline);
}
And now I’m a bit lost trying to change the way I write the paths to make it work because I know it’s because the game in android doesn’t find this paths but I can’t solve it.