godotengine / godot

Godot Engine – Multi-platform 2D and 3D game engine
https://godotengine.org
MIT License
89.57k stars 20.52k forks source link

Error spam when opening up dialogs in project manager #67518

Open BastiaanOlij opened 1 year ago

BastiaanOlij commented 1 year ago

Godot version

4.0 dev 9afc8337bd1a4420cf6b1d61bd2a25d50317a158

System information

n/a

Issue description

When in the project manager you open up a dialog, you get error spam around project settings each time the window refreshes:

WARNING: Property not found: rendering/limits/time/time_rollover_secs
     at: ProjectSettings::_get (core\config\project_settings.cpp:333)
WARNING: Property not found: rendering/limits/time/time_rollover_secs
     at: ProjectSettings::_get (core\config\project_settings.cpp:333)
WARNING: Property not found: rendering/limits/time/time_rollover_secs
     at: ProjectSettings::_get (core\config\project_settings.cpp:333)
WARNING: Property not found: rendering/limits/time/time_rollover_secs
     at: ProjectSettings::_get (core\config\project_settings.cpp:333)

In some situations I got this one as well:

WARNING: Property not found: rendering/driver/depth_prepass/enable
     at: ProjectSettings::_get (core\config\project_settings.cpp:333)

But that might have been something I introduced in the PR I'm working on.

Steps to reproduce

Easiest to reproduce is attempting to rename a project.

Minimal reproduction project

n/a

BastiaanOlij commented 1 year ago

Could this be caused because it loads the project file for the selected project but as we no longer save all settings and we're not running GLOBAL_DEF for these settings, it won't be able to find the entries?

timothyqiu commented 1 year ago

Probably the same cause as #25661