What is the difference between Editor and EditorNoCommandlet in Modules Type?

Perhaps the correct place to have this information would be on this API doc:

But it seems that we do not have that answer there, so I come through this AnswerHub to ask:

What is the difference between these 2 types of modules: Editor and EditorNoCommandlet?

I only know that the “Editor” option will cause a Module to load only in the Editor.

Thanks,

As the name suggests, these will not be loaded when running Commandlets

I’ve never seen documentation as poor in information as the unreal engine. But thanks anyway for the link!

I still do not know if I should put my plugin type in Editor or EditorNoCommandlet. I’ll leave Editor for now, since the documentation does not help much.

I think you should go with “Editor” unless you specifically want to skip loading of a module for commandlets (which you’d want for example if it caused any sort of trouble).

Yeah, I think it was enough to clarify the difference, I think it’s answered, thank you very much, @Robert Khalikov!

I marked your response as accepted :wink:

‘As the name suggests’ EditorNoCommandlet means ‘Loaded only by the editor, except when running commandlets’

Practically, when you build the project, the AutomationTools will run editor with commandlets to do the building & cooking & packaging stages. With some editor plugins enabled, those stages will be failed. Disable those editor plugins can fix the issue. If EditorNoCommandlet works, changing the plugin type to it should fix too.

In my situation however, setting the plugin type to EditorNoCommandlet does not work. And I don’t know why. :frowning: