on editor it works like:
data2 = Resources.Load(“rank2”);
but on mobile i cant read it. i have tried like
data2 =Application.persistentDataPath + “/rank2.csv” ;
data2 =Application.persistentDataPath + “/rank2” ;
i have also tried
string path = Application.persistentDataPath + “/rank2.csv”;
if (File.Exists(path))
{
Debug.Log(“finds file”);
}
and checked the file exists…
anybody got an actual update to this like I’m trying to load a csv as a text asset from persistentDataPath not from the resources folder as I need it read and writeable but still be used as a text asset