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

**URL:** <https://forums.unrealengine.com/t/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/425830>\
**Category:** Plugins\
**Tags:** modules, unreal-engine, Packaging, Plugins, package-error, question\
**Created:** [May 24, 2018, 4:36am UTC](https://forums.unrealengine.com/t/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/425830 "2018-05-24T04:36:28Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![BlackFangTech](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@BlackFangTech](https://forums.unrealengine.com/u/BlackFangTech)\
**Post date:** [May 24, 2018, 4:36am UTC](https://forums.unrealengine.com/t/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/425830/1 "2018-05-24T04:36:28Z")

</div>

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.

---

<div class="post-metadata">

**Author:** ![anonymous\_user\_e5f624c2](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@anonymous\_user\_e5f624c2](https://forums.unrealengine.com/u/anonymous_user_e5f624c2)\
**Post date:** [September 4, 2018, 6:13pm UTC](https://forums.unrealengine.com/t/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/425830/2 "2018-09-04T18:13:27Z")

</div>

Did you manage to solve this error?

---

<div class="post-metadata">

**Author:** ![BlackFangTech](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@BlackFangTech](https://forums.unrealengine.com/u/BlackFangTech)\
**Post date:** [September 4, 2018, 6:32pm UTC](https://forums.unrealengine.com/t/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/425830/3 "2018-09-04T18:32:16Z")

</div>

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’

---

<div class="post-metadata">

**Author:** ![BlackFangTech](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@BlackFangTech](https://forums.unrealengine.com/u/BlackFangTech)\
**Post date:** [September 4, 2018, 6:32pm UTC](https://forums.unrealengine.com/t/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/425830/4 "2018-09-04T18:32:24Z")

</div>

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’

---

<div class="post-metadata">

**Author:** ![anonymous\_user\_c8c3a9be](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@anonymous\_user\_c8c3a9be](https://forums.unrealengine.com/u/anonymous_user_c8c3a9be)\
**Post date:** [February 6, 2019, 5:56am UTC](https://forums.unrealengine.com/t/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/425830/5 "2019-02-06T05:56:52Z")

</div>

Can you help me? I have [this error](https://answers.unrealengine.com/questions/871655/view.html), but didn’t understood your answer. VTDFirePanels is my game project, not the plugin. May be I must rename it?

---

<div class="post-metadata">

**Author:** ![kartonfalter](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/kartonfalter/32/569996_2.png) [@kartonfalter](https://forums.unrealengine.com/u/kartonfalter)\
**Post date:** [November 22, 2022, 4:14am UTC](https://forums.unrealengine.com/t/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/425830/6 "2022-11-22T04:14:39Z")

</div>

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