# Custom C++ class components not showing in add component tab

**URL:** <https://forums.unrealengine.com/t/custom-c-class-components-not-showing-in-add-component-tab/309058>\
**Category:** Programming & Scripting\
**Tags:** unreal-engine\
**Created:** [March 4, 2015, 1:25am UTC](https://forums.unrealengine.com/t/custom-c-class-components-not-showing-in-add-component-tab/309058 "2015-03-04T01:25:04Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![brentJmcewan\_1](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@brentJmcewan\_1](https://forums.unrealengine.com/u/brentJmcewan_1)\
**Post date:** [March 4, 2015, 1:25am UTC](https://forums.unrealengine.com/t/custom-c-class-components-not-showing-in-add-component-tab/309058/1 "2015-03-04T01:25:04Z")

</div>

Hi,

When we were using 4.6 we created a bunch of custom components in c++, and could add them via the “add component” button in blueprints.

Since we upgraded to 4.7 we aren’t able to see the components previously created in the add component list.

We found a work around - we just drag the C++ class from the content browser into the components tab and it adds fine, however it is still not showing up in the “add component” list.

Is this a known issue? Is it supposed to be like that? The components are set to visibleAnywhere and we can use them in the components tab - but we thought they used to be accessible through the add component list - now they’re not…

Can you let us know if there is a change we are supposed to make or if this is a bug with the engine? For now we will just drag the component c++ class in from the content browser.

Thankyou!

Brent

---

<div class="post-metadata">

**Author:** ![anonymous\_user\_2b03d27c](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@anonymous\_user\_2b03d27c](https://forums.unrealengine.com/u/anonymous_user_2b03d27c)\
**Post date:** [March 5, 2015, 3:22pm UTC](https://forums.unrealengine.com/t/custom-c-class-components-not-showing-in-add-component-tab/309058/2 "2015-03-05T15:22:33Z")

</div>

Hey brentJmcewan-

In the UCLASS() macro for your component class, make sure you have ‘ClassGroup=( [GroupName] )’ and then compile. Your components should then appear under the group name you listed in the Add Component drop down.

Cheers

---

<div class="post-metadata">

**Author:** ![brentJmcewan\_1](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@brentJmcewan\_1](https://forums.unrealengine.com/u/brentJmcewan_1)\
**Post date:** [March 10, 2015, 3:29am UTC](https://forums.unrealengine.com/t/custom-c-class-components-not-showing-in-add-component-tab/309058/3 "2015-03-10T03:29:16Z")

</div>

Thanks !  
Worked like a charm! We just hadn’t realised that was necessary - thanks for your helpful and speedy response!

---

<div class="post-metadata">

**Author:** ![polymatheddy](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@polymatheddy](https://forums.unrealengine.com/u/polymatheddy)\
**Post date:** [March 29, 2015, 3:25am UTC](https://forums.unrealengine.com/t/custom-c-class-components-not-showing-in-add-component-tab/309058/4 "2015-03-29T03:25:23Z")

</div>

Thank you!

---

<div class="post-metadata">

**Author:** ![vmc\_petter](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@vmc\_petter](https://forums.unrealengine.com/u/vmc_petter)\
**Post date:** [August 29, 2019, 2:34pm UTC](https://forums.unrealengine.com/t/custom-c-class-components-not-showing-in-add-component-tab/309058/5 "2019-08-29T14:34:53Z")

</div>

I had to add meta = (BlueprintSpawnableComponent) to UCLASS macro as well for it to work.

---

<div class="post-metadata">

**Author:** ![gadaubet](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@gadaubet](https://forums.unrealengine.com/u/gadaubet)\
**Post date:** [April 24, 2021, 5:41pm UTC](https://forums.unrealengine.com/t/custom-c-class-components-not-showing-in-add-component-tab/309058/6 "2021-04-24T17:41:47Z")

</div>

UCLASS(ClassGroup = (Custom), meta = (BlueprintSpawnableComponent))
