Save folder that isnt in persistentDataPath

I would like to reference an Folder inside the script where I would, instead the persistentDataPath, save the new SaveFiles. The goal is that, inside the build Folder were the .exe is, we create on runtime a new folder which is our new Save location. From which we can also easily load all the files inside that folder.

The reason is simple, the user often doesnt know about the persistentDataPath, but our target audience still likes to share their SaveFiles. Therefore the simplest solution would be an Folder attached to the .exe location.

You can read/write to any file path that the user’s operating system thinks you have permission to.

Using Application.persistentDataPath is intended to get you out of worrying about filesystem permissions.

What is your question?

So basically how i can find the path where my build folder is located.

1 Like