Skip to content
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

Editor settings do reset when exporting from command line #30149

Closed
Bleuzen opened this issue Jun 28, 2019 · 1 comment · Fixed by #30154
Closed

Editor settings do reset when exporting from command line #30149

Bleuzen opened this issue Jun 28, 2019 · 1 comment · Fixed by #30154
Milestone

Comments

@Bleuzen
Copy link

@Bleuzen Bleuzen commented Jun 28, 2019

Godot version:
3.1.1

OS/device including version:
Manjaro Linux

Issue description:
After using the --export option from command line, the editors config gets reset to the default.

Steps to reproduce:

  1. Change some settings in the Godot Editor.
  2. Close the editor.
  3. Export your project from command line / within a build script...
  4. Open the edior again. All settings are back at their defaults.
@Bleuzen

This comment has been minimized.

Copy link
Author

@Bleuzen Bleuzen commented Jun 28, 2019

I get this output when exporting from command line:

ERROR: instance: Class 'EditorSettings' can only be instantiated by editor.
   At: core/class_db.cpp:523.
ERROR: poll: /home/USER/.config/godot/editor_settings-3.tres:3 - Parse Error: Can't create sub resource of type: EditorSettings
   At: scene/resources/resource_format_text.cpp:561.
ERROR: load: Condition ' err != OK ' is true. returned: RES()
   At: core/io/resource_loader.cpp:208.
ERROR: _load: Failed loading resource: /home/USER/.config/godot/editor_settings-3.tres
   At: core/io/resource_loader.cpp:285.
WARNING: create: Could not open config file.
   At: editor/editor_settings.cpp:871

Seems that when using the --export option, godot has problems loading the editor config.

@bojidar-bg bojidar-bg added this to the 3.2 milestone Jun 28, 2019
bojidar-bg added a commit to bojidar-bg/godot that referenced this issue Jun 28, 2019
akien-mga added a commit to akien-mga/godot that referenced this issue Jul 3, 2019
akien-mga added a commit that referenced this issue Jul 5, 2019
Fixes #30149

(cherry picked from commit 9ebc146)
hbina added a commit to hbina/godot that referenced this issue Jul 19, 2019
MJBrune pushed a commit to MJBrune/godot that referenced this issue Jul 24, 2019
myhalibobo added a commit to myhalibobo/godot that referenced this issue Sep 3, 2019
mighty-bean added a commit to mighty-bean/godot that referenced this issue Oct 24, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
2 participants
You can’t perform that action at this time.