I am storing the progress of the game in XML file. Since the player can choose the round they want to play, but not repeat a round once completed. The files are being editted and updated correctly, however, the changes are not reflecting inside the game until i restart the game.
I had been using AssetDatabase.ImportAsset()
until now, but i need an alternative for android export.
The good news is in Unity it's incredibly easy to save/read text files.
One absolutely key point...
An extremely confusing fact about Unity is that, quite simply, you must use Application.persistentDataPath (all platforms, all the time, every single time - no exceptions). "It's that simple!"
For some reason, starting a few years ago there came to be some code samples on the www about using other paths and accessing other folders. (A) there is uttelry no reason, whatsoever, to use any other folders or oaths (B) you simply can not use any other folders or paths.
It's incredibly easy to write and read files in Unity.
that's all there is to it.
Note that you ask regarding your specific XML files, "should I add them manually on the first run"
It's simple, your algorithm is, to get the file information ...
it's really that simple - nothing to it. (PS, I don't know about your specific situation, whether you should name the file ".txt" or ".xml" - really doesn't matter either way other than to make it clear or your colleagues; try both.)