- Home /
Location of Application.persistentDataPath ?
Hello!
I tried using a debug log and also a print. It works, but it prints nothing.
(Not built game, only inside editor)
Thanks, in advance.
Answer by Jason2014 · Feb 24, 2016 at 01:09 PM
C: => Users => [user] => AppData => LocalLow => [company name]
In windows this is true, but the foulder is invisible, you need change view settings to see this foulder
Answer by N0ctus · Mar 05, 2017 at 03:30 PM
On Win7 - C:/Users/Username/AppData/LocalLow/CompanyName/GameName
On Android - /Data/Data/com.companyname.gamename/Files
Answer by ExtinctSpecie · Mar 05, 2017 at 03:30 PM
Application.persistentDataPath
inside an android phone should be somewhere like this /storage/emulated/0/android/data/com.mycompany.project/files/
Application.persistentDataPath + "newFolder" /storage/emulated/0/android/data/com.mycompany.project/files/newFolder
Answer by n12901 · Mar 10, 2018 at 06:05 PM
Unity 2018 changes the path to C:\Users\username\AppData\Local\company\game
(on Windows).