Hi everyone hope you are having a good day/night.
I'm trying to read some data from a JSON file using
var ItemList = System.IO.File.ReadAllText("user://ItemList.json");
and I'm not sure if the files just aren't exported at all or if I'm using the wrong path.
if I use the initial path like "ItemList.json" I get an unauthorized access exception on android, but it works on windows.
I changed it up to "user://ItemList.json" and now its just directory not found on both platforms. Even if I create a new file in case ItemList.json doesn't exist its still the same exception.
Can anyone provide some help, please?