Hey does any #Linux / #Godot expert know where player preferences are saved for each game? I've created a file "save_data.fly" but I can't find where it has been placed and it does not come up in a system-wide search.
@LexGear Hmm, this all looks correct at first glance. And the console prints "File created successfully." when you run the code?
By any chance, have you installed Godot as a snap or flatpak etc?
@LexGear Ah yeah, flatpak does some weird stuff sometimes. It keeps apps in a sandbox and can prevent them from creating new files, or redirects where they get created. Best to install Godot directly from your system repository, i.e. not flatpak or snap
@LexGear@tracefree In case you did like the flatpak install aside from this issue, note that you can grant flatpaks access to the real file system (vs. the default sandbox they're restricted to).
Flatseal is a nice GUI app for this task. You can break the sandbox completely or give access to specific parts of your file system for example.
Add comment