I have been trying to save game data using a binary formatter and Application.persistentDataPath on my Tango device. After saving however, the file is nowhere to be found.
Right now the path is reading out as "Storage/emulated/0/Android/data/com.mine.project/files/filename.bin", but as stated above, the path doesn't actually exist anywhere.
Is there another way to save all of this data on the Tango that I have yet to find? If not, is there a way to get these files to show up?
This is the code that I am currently using, minus some debugging functions I use.
string path = Application.persistentDataPath + Path.DirectorySeparatorChar + "file.bin";
BinaryFormatter bf = new BinaryFormatter ();
FileStream file = File.Open (path, FileMode.OpenOrCreate);
bf.Serialize(file, data);
file.Close ();
From what I can tell this isn't throwing any errors, I can even find the file again via the File.Exists() function, but I need to find the file again for access through other programs, and so far it has proven impossible.