+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?

in Engine by (211 points)
edited by

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..

by (10,265 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.
Social login is currently unavailable. If you've previously logged in with a Facebook or GitHub account, use the I forgot my password link in the login box to set a password for your account. If you still can't access your account, send an email to webmaster@godotengine.org with your username.