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 Im not sure if the files just aren
t expotred 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 it`s still the same exception.
I attached the script where it all happens below
Can anyone provide some help please?