+1 vote

The Editor Feature Profiles (Editor > Manage Editor Features) allow you to disable features you don't need in your current project. You can create several profiles for different projects and you can also export a profile to a .profile file.

Is there a way to load a profile file automatically when opening a project?

asked May 20 in Engine by luislodosm (97 points)
edited May 21 by luislodosm

I think the way is to make a plugin and modify the EditorFeatureProfile class.
https://docs.godotengine.org/es/stable/classes/class_editorfeatureprofile.html

1 Answer

+1 vote

Is there a way to load a profile file automatically when opening a project?

I don't think so, at least not from GDscript. :( While you can create a profile from code using the EditorFeatureProfile-class, you would need access to a separate class (called EditorFeatureProfileManager) to actually apply that profile to the running editor. And as the EditorNode isn't fully exposed to GDscript and EditorFeatureProfileManager is not a registered class, you currently cannot access that class from GDscript.

This issue recently proposed to manage feature profiles on a per-project-basis..

answered May 22 by njamster (8,874 points)

You are right. I couldn't access to EditorFeatureProfileManager. Thank you so much for the link to the proposed feature.

Welcome to Godot Engine Q&A, where you can ask questions and receive answers from other members of the community.

Please make sure to read How to use this Q&A? before posting your first questions.