ERROR: Expecting to find a type to be declared in a module rules named 'UnrealED' in UE4Rules, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null.

I’m working on my first plugin that uses an editor module and a runtime module, and I’ve been getting this error when trying to package it since I split part of the code into an editor module.

UATHelper: Package Plugin Task (Windows): ERROR: Expecting to find a type to be declared in a module rules named ‘UnrealED’ in UE4Rules, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null. This type must derive from the ‘ModuleRules’ type defined by Unreal Build Tool.

I can find no documentation on this error whatsoever thus far, so any help is appreciated.

Did you manage to solve this error?

Yes. For some reason, normal compilation does not catch the ‘D’ in ‘UnrealED’ being capitalized when it shouldn’t, but packaging does. It should be ‘UnrealEd’

Yes. For some reason, normal compilation does not catch the ‘D’ in ‘UnrealED’ being capitalized when it shouldn’t, but packaging does. It should be ‘UnrealEd’

Can you help me? I have this error, but didn’t understood your answer. VTDFirePanels is my game project, not the plugin. May be I must rename it?

I had the same issue with XMLParser. It has to be passed as “XmlParser” in the *.Build.cs file.