Can't save on D drive
Posted: Mon Nov 04, 2019 6:20 pm
I'm doing a tool, and I need to save to any computer drive (PC)
string path = "D:/Test.csv";
ES3Spreadsheet sheet = new ES3Spreadsheet();
sheet.Load(path);
if (sheet == null)
Debug.Log("sheet == null");
for (int col = 0; col < sheet.ColumnCount; col++)
Debug.Log(sheet.GetCell<string>(col, 0));
I got this error: UnauthorizedAccessException: Access to the path "D:" is denied.
Any idea? I'm using Unity 2019.2.9f1 Thanks, !
string path = "D:/Test.csv";
ES3Spreadsheet sheet = new ES3Spreadsheet();
sheet.Load(path);
if (sheet == null)
Debug.Log("sheet == null");
for (int col = 0; col < sheet.ColumnCount; col++)
Debug.Log(sheet.GetCell<string>(col, 0));
I got this error: UnauthorizedAccessException: Access to the path "D:" is denied.
Any idea? I'm using Unity 2019.2.9f1 Thanks, !