Unity Persistent Data Path

The Unity persistentDataPath is read only and will return the path where you can save data that will be persitent betwen sessions. Even app updates doesn’t touch the files in this location, unless you want it to. You can do what ever you want to with files in this location. They are completly safe from the operating system and other apps or games. You can check it out in the Unity Documentation.


Windows Store Apps: %userprofile%\AppData\Local\Packages\<productname>\LocalState

Windows Editor: %userprofile%\AppData\LocalLow\<companyname>\<productname>

Standalone Editor: %userprofile%\AppData\LocalLow\<companyname>\<productname>


Android: /storage/emulated/0/Android/data/<packagename>/files

Mac / iOS

Mac (Newer versions of Unity): ~/Library/Application Support/company name/product name

Mac (Older versions of Unity): ~/Library/Application Support/unity.company name.product name

iOS: /var/mobile/Containers/Data/Application/<guid>/Documents

tvOS: Not supported


Depending on which Distro. But these two are used.

Linux: $XDG_CONFIG_HOME/unity3d

Linux: $HOME/.config/unity3d


WebGL: /idbfs/<md5 hash of data path>

Sick and tired of Unity and want to delete it from your Mac? Here is how to uninstall Unity completely.

About Author

Related Posts

Unity Random Bool with three different methods

Do you need to create a random Bool or Boolean in Unity? Here is 3 different methods to show you how to do Unity Random Bool. Bool…

Unity Random Number

Unity random number with examples

How to do a Unity random number for integers and float. Let us go thru a few examples with random integer and random float using unity random…

unity animation samples not showing

Unity animation samples not showing in Unity 2019.3

Unity animation samples not showing? Relax, they did not remove it. They have just hidden it. Not sure why it never bothered me when it was there…

unity curl error 7

Unity Curl error 7

I recently had this error in Unity. Unity Curl error 7: Failed to connect to cdp.cloud.unity3d.com port 443: Connection refused For a few days, I had been…

Unity call function every 0.1 seconds

Unity Call function every 0.1 seconds

In Unity call function every 0.1 seconds. This can be done in several ways. I will show two ways of calling a function every 0.1 seconds. Unity…

Unity Depth Charges

Unity Depth Charges “Remake” with source code

My Unity Depth Charges remake is not an exact remake. I took the idea of a destroyer dropping depth charges to bomb submarines. Other than that there…

Leave a Reply