# \[C++\]Custom Component Class in Plugin

**URL:** <https://forums.unrealengine.com/t/c-custom-component-class-in-plugin/311671>\
**Category:** C++\
**Tags:** custom-component, unreal-engine, question\
**Created:** [March 19, 2015, 7:52am UTC](https://forums.unrealengine.com/t/c-custom-component-class-in-plugin/311671 "2015-03-19T07:52:20Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![prcn3dlight](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@prcn3dlight](https://forums.unrealengine.com/u/prcn3dlight)\
**Post date:** [March 19, 2015, 7:52am UTC](https://forums.unrealengine.com/t/c-custom-component-class-in-plugin/311671/1 "2015-03-19T07:52:20Z")

</div>

I have created a plugin in 4.6 and want to transfer the project to 4.7. The plugin was compiled without error, but I found all of the custom component classes disappeared from the “Add Component” list(they could be found in 4.6.)

Could you please tell me how to fix this?

---

<div class="post-metadata">

**Author:** ![prcn3dlight](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@prcn3dlight](https://forums.unrealengine.com/u/prcn3dlight)\
**Post date:** [March 19, 2015, 8:24am UTC](https://forums.unrealengine.com/t/c-custom-component-class-in-plugin/311671/2 "2015-03-19T08:24:54Z")

</div>

Solved!  
I added “ClassGroup = (Custom)” to the class specifiers and rebuild the project. (Not by hot reload but close the Editor and re-open.)  
Now my custom components can be found in the “Add Component” list!
