What directory corresponds to Application.persistentDataPath on Linux?

I’m not sure how to find the files I’m writing to in Linux, or see if they exist.

Also, where does the output_log.txt file get written to in Linux? I can’t find it, either.

You don't try this to know : Debug.Log( Application.persistentDataPath ); On a linux OS t osee the value ?

Well, again, I don't know where the output_log.txt gets written, either! Or else I could test in that way. It would be nice if the documentation just specified for different platforms...

You can use the [DebugConsole][1] to display messages on-screen. [1]: http://www.ennanzus-interactive.com/developer/DebugConsole/

1 Answer

1

The logs are written to /home/[username]/.config/unity3d. You could also use the development console along with Debug.LogError to show output on-screen. Anyway printing Application.persistentDataPath results in: /home/[username]/.config/unity3d/[companyname]/[productname]

Nice answer I don't have Linux OS to test and answer to him. If I understand his question he doesn't have Linux to test Debug.LogError or I misunderstand btw nice answer and good to know ;)

You misunderstand; he has Linux.

Thanks, there is a Player.log written to that location, and I can see my data at the persistentDataPath location!

On Ubuntu 14.04 I see that Application.persistentDataPath ponts to / directory in server.