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

Regression: Editor settings constantly getting lost #90895

Closed
lyuma opened this issue Apr 19, 2024 · 1 comment
Closed

Regression: Editor settings constantly getting lost #90895

lyuma opened this issue Apr 19, 2024 · 1 comment
Labels

Comments

@lyuma
Copy link
Contributor

lyuma commented Apr 19, 2024

Tested versions

System information

Godot v4.3.dev (2efbc6b) - Windows 10.0.19045 - Vulkan (Forward+) - dedicated NVIDIA GeForce RTX 3090 (NVIDIA; 31.0.15.3713) - Intel(R) Core(TM) i9-9900K CPU @ 3.60GHz (16 Threads)

Issue description

There seems to be a format incompatibility which not only prevents older Godot versions from using new editor settings, but causes editor settings to be lost any time an older version of the engine is started.

And older build of Godot, such as 4.2.1, will print the following:

ERROR: C:/Users/Admin/AppData/Roaming/Godot/editor_settings-4.tres:1 - Parse Error: Saved with newer format version
   at: open (scene/resources/resource_format_text.cpp:1052)
ERROR: Failed loading resource: C:/Users/Admin/AppData/Roaming/Godot/editor_settings-4.tres. Make sure resources have been imported by opening the project in the editor at least once.
   at: (core/io/resource_loader.cpp:273)
ERROR: Could not load editor settings from path: C:/Users/Admin/AppData/Roaming/Godot/editor_settings-4.tres
   at: create (editor/editor_settings.cpp:919)

Steps to reproduce

  1. Load the latest master version of Godot
  2. Change some editor setting, such as Theme to grey
  3. Open an older build of Godot, such as 4.3 from two weeks ago, or 4.2.1.
  4. The older build will fail to read editor settings, so it will be on factory defaults
  5. Open a new build of Godot. The older build overwrote or corrupted the settings, so even the new build will be on factory defaults.

Minimal reproduction project (MRP)

Editor settings apply to all projects.

@akien-mga
Copy link
Member

akien-mga commented Apr 19, 2024

Duplicate of #90846.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants