-
-
Notifications
You must be signed in to change notification settings - Fork 21.3k
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
Re-enable docs cache with fixes #78615
Conversation
08359fe
to
cfa3f9b
Compare
51e0523
to
86ba005
Compare
86ba005
to
475f3f7
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Tested locally, this PR appears to break editor settings loading:
❯ Godot Engine v4.1.rc.custom_build.a629515b3 - https://godotengine.org
Vulkan API 1.3.242 - Forward+ - Using Vulkan Device #0: NVIDIA - NVIDIA GeForce RTX 4090
ERROR: Class 'EditorSettings' or its base class cannot be instantiated.
at: instantiate (./core/object/class_db.cpp:341)
ERROR: Could not load editor settings from path: /home/hugo/.config/godot/editor_settings-4.tres
at: create (./editor/editor_settings.cpp:929)
Trying to change a setting then restart the editor means the setting is ignored. Currently, this PR will also remove your existing editor settings, so beware.
475f3f7
to
cac4d44
Compare
Thanks for testing. It seems that |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Tested locally, it works as expected. I've tried starting the editor several times and can always see the EditorSettings class reference.
Code looks good for me at a glance.
@RandomShaper So, do we want to merge it now? It's still marked as a draft. |
I forgot to unmark it. I've smoke-tested it just in case. Seems good to go. |
Thanks! |
As of this PR being merged (92960b7) I am getting an immediate crash when opening a project:
The previous merge commit c4e5822 works fine. EDIT: Actually this is weird. If I open the project in the latest master it crashes, then in 92960b7 it crashes, then in c4e5822 it works. But if I try to go forward in time again, 92960b7 works, and 7c20487 is the first commit that starts crashing. |
@aaronfranke Make sure to remove editor cache or use the self-contained mode. |
@YuriSizov |
Well, the crash is back again, and now it keeps happening even after clearing all the caches. Maybe #79936. |
This is built on top of #78614, to be tested after 4.1 is out.EditorSettings
.Fixes #77878.
Fixes #78647.