I’ve got Unity reading and writing to a .txt file fine under the Unity SDK. The .txt file is stored under Streaming Assets and I’ve altered my code so it will be accessed correctly, (ie correct file path), when I run it in Xcode. However I seem to be only able to read the file in the Xcode build. Writing to it is either not happening or is not being saved (I suspect its’s not being saved) so changes to the file are not present when I next load the application.
I’m not entirely sure if I’m going about this the right way by using Streaming Asset. What I would like to do is have a .txt file which stores data and is read and written to between sessions. So I should be able to run this in Xcode and alter the file then have that alteration present when I next start the application. How do I go about doing this?