# I’m trying to reparent a plug-in class to a class of another plug-in but I get a compilation error

**URL:** <https://forums.unrealengine.com/t/i-m-trying-to-reparent-a-plug-in-class-to-a-class-of-another-plug-in-but-i-get-a-compilation-error/1189804>\
**Category:** Pipeline & Plugins\
**Tags:** unreal-engine, CPP\
**Created:** [June 5, 2023, 4:57pm UTC](https://forums.unrealengine.com/t/i-m-trying-to-reparent-a-plug-in-class-to-a-class-of-another-plug-in-but-i-get-a-compilation-error/1189804 "2023-06-05T16:57:15Z")\
**Posts on this page:** 1\
**Showing post:** 2

<div class="post-metadata">

**Author:** ![RecourseDesign](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/recoursedesign/32/1194503_2.png) [@RecourseDesign](https://forums.unrealengine.com/u/RecourseDesign)\
**Post date:** [June 5, 2023, 5:30pm UTC](https://forums.unrealengine.com/t/i-m-trying-to-reparent-a-plug-in-class-to-a-class-of-another-plug-in-but-i-get-a-compilation-error/1189804/2 "2023-06-05T17:30:00Z")

</div>

Hi DA\_GIUSTINO1,

You’ll have to include the other plugins module in the first one, check out:

> [@Plugin dependent on another plugin](https://forums.unrealengine.com/t/plugin-dependent-on-another-plugin/387324/2):
>
> Hi , Sorry for the delayed response to your question. Have you tried adding a “Plugins” section to the .uproject file? Something like this: "Plugins": [ { "Name": "MyPlugin", "Enabled": true }, { "Name": "MyOtherPlugin", "Enabled": true } This will tell the .uproject file to make sure any listed plugins are present when opening the project in the Editor. If they are not included in the project, a notification will pop up to alert you. Does that meet your needs?

---

_[View the full topic](https://forums.unrealengine.com/t/i-m-trying-to-reparent-a-plug-in-class-to-a-class-of-another-plug-in-but-i-get-a-compilation-error/1189804)._
