# Adding member components dynamically in editor (using EditInlineNew and Abstract)

**URL:** <https://forums.unrealengine.com/t/adding-member-components-dynamically-in-editor-using-editinlinenew-and-abstract/362140>\
**Category:** C++\
**Tags:** unreal-engine, bug-report, editor, CPP, question\
**Created:** [June 27, 2016, 11:53am UTC](https://forums.unrealengine.com/t/adding-member-components-dynamically-in-editor-using-editinlinenew-and-abstract/362140 "2016-06-27T11:53:17Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![anonymous\_user\_34599388](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@anonymous\_user\_34599388](https://forums.unrealengine.com/u/anonymous_user_34599388)\
**Post date:** [June 27, 2016, 11:53am UTC](https://forums.unrealengine.com/t/adding-member-components-dynamically-in-editor-using-editinlinenew-and-abstract/362140/1 "2016-06-27T11:53:17Z")

</div>

Hello!

Here’s what I’m trying to achieve - I would like to be able to dynamically create a member component by selecting from the drop down menu one of its possible implementations. In another words, I would like to store a pointer to some abstract base class and be able to create the actual object from editor by selecting another class that inherits from that base class. I’ve done the following:

1. defined base abstract class

2. defined class that inherits from the base class:

3. defined a pointer to that base class in another component, lets call the component UMyComponent

Now, if I create an an empty actor and add UMyComponent to it, everything works as expected - there is in fact a drop down list, from where I can select UDefaultImplComponent and further modify it properties. If I however create an actor, add UMyComponent to it, and then create a blueprint from that actor, the same steps as above works only inside blueprint editor, meaning I can only modify the base blueprint itself, but not the instances of that blueprint.

Is this a bug in UE4 or am I misusing something or perhaps what I wan’t can’t be achieved in that way/at all? Thank you!

---

<div class="post-metadata">

**Author:** ![SnowFlying](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/snowflying/32/675980_2.png) [@SnowFlying](https://forums.unrealengine.com/u/SnowFlying)\
**Post date:** [April 8, 2023, 12:11pm UTC](https://forums.unrealengine.com/t/adding-member-components-dynamically-in-editor-using-editinlinenew-and-abstract/362140/2 "2023-04-08T12:11:26Z")

</div>

We hope this Blueprint Class “EditInlinenNew” plugin (which no longer requires any C++ to use the EditInlinenNew feature) will help you. ❤

> **[Blueprint EditInlineNew in Code Plugins - UE Marketplace](https://www.unrealengine.com/marketplace/en-US/product/blueprint-editinlinenew)**
>
> Blueprint EditInlineNew feature for Blueprint Class and Blueprint Variable. To implement the EditInlineNew feature, simply check the check box in the blueprint.
