-
-
Notifications
You must be signed in to change notification settings - Fork 21.6k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
ProjectSettings.save()
does nothing
#46358
Comments
Seems like you can't modify ProjectSettings from within running project. It works when you add |
But why does the method exist then? To me it seems like a bug. |
After disconnecting from my Android phone I got
. I don't know if this helps. |
For me, it does not work with |
This was fixed by #45880 |
You need to call it from the editor. It won't work in the running game.
It's unrelated. |
Ah you are right, although the PR that fixed this is #45968 |
That should be documented! |
No need to document something that's already fixed @MaaaxiKing |
Ok so it works in exported project too, but the modified settings can't be loaded. This might be worth mentioning in the doc. |
This bug needs to be merged into v3.x aswell. ah i see 'Cherry-picked for 3.2.4.' i have to try |
Godot version:
3.2.3.stable
OS/device including version:
Windows 10 Home 1909
Issue description:
I wanted to save the ProjectSettings which I configured earlier with
ProjectSettings.set_setting("application/run/main_scene", "res://title_screen/title_screen.tscn")
, which works because when I doprint(ProjectSettings.get_setting("application/run/main_scene")
, I get "res://title_screen/title_screen.tscn" printed, withProjectSettings.save()
. I even disabled safe save in EditorSettings and my antivirus. For days I ask myself where the problem is.Steps to reproduce:
in script: change any ProjectSetting and then save it.
Minimal reproduction project:
Bug_REPRODUCTION.zip
The text was updated successfully, but these errors were encountered: