I am getting very strange problem i have url
http://localhost:5001/vr
when i directly assign this url to my inspector and then pass to WWW class, it works correctly but as i am getting the same url through text file using this code
string filePath = Application.dataPath + "/" + urlFile;
string urls = File.ReadAllText(filePath);
string[] url = urls.Split('\n');
string getURL = url[0];//this is the url
string doneURL = url[1];
i am getting this error in www class
Illegal characters found in URL
Aucun commentaire:
Enregistrer un commentaire