Where are the files you save under "user://" path with use_shared_user_dir set to false?

:information_source: Attention Topic was automatically imported from the old Question2Answer platform.
:bust_in_silhouette: Asked By brunosxs
:warning: Old Version Published before Godot 3 was released.

I couldn’t find any documentation about it.
If you uncheck the use_shared_user_dir, where are the files stored? I made a complete search for a file on my home dir but found nothing…

:bust_in_silhouette: Reply From: atze

According to the source code I would say files get stored in $HOME/.<NameOfYourGame>

String OS_Unix::get_data_dir() const {

	String an = Globals::get_singleton()->get("application/name");
	if (an!="") {

		if (has_environment("HOME")) {

			bool use_godot = Globals::get_singleton()->get("application/use_shared_user_dir");
			if (use_godot)
				return get_environment("HOME")+"/.godot/app_userdata/"+an;
				return get_environment("HOME")+"/."+an;

	return Globals::get_singleton()->get_resource_path();

Thank you very much.
I am not at the level that I could dare to look at the source and understand things, at least that was what I thought until I looked at your answer. The code looks really simple and I indeed found it at home, but hidden, thanks to the dot at the start of the name. Not even on the search system I was able to find.

All in all I learned what I wanted and also something even more valuable that is to have a look at the source with no fear of c++.


brunosxs | 2016-04-15 23:14

:bust_in_silhouette: Reply From: codevanya

In Windows, it is in


You can go to the Roaming folder easily by bringing up Run (Win+R) and type %APPDATA% and enter.

:bust_in_silhouette: Reply From: Dmitry Pupinin

In Godot 3.0 files store to


Correct answer for Linux.

Seralto | 2020-06-03 04:34

:bust_in_silhouette: Reply From: Eduardo Pereira

In Godot 3.2 on macOS it sores user files in:

~/Library/Application\ Support/Godot/app_userdata/_APPLICATION_NAME_