This code should work, the file exists and has data in it, but the routine returns before the data even loads and actually the data never loads and I get no error:
IEnumerator loadPrefs()
{
WWW w = new WWW("http://localhost/Unity/testFile.txt");
yield return w;
Debug.Log("w completed with : " + w.text);
_data = w.text;
prepareGameItems();
}
The Debug.Log never prints, this file is 32k in size and is reachable when I simply click on the link any clue?