# Not able to add component to an actor from Components Graph

**URL:** <https://forums.unrealengine.com/t/not-able-to-add-component-to-an-actor-from-components-graph/341551>\
**Category:** Programming & Scripting\
**Tags:** unreal-engine\
**Created:** [December 15, 2015, 8:06pm UTC](https://forums.unrealengine.com/t/not-able-to-add-component-to-an-actor-from-components-graph/341551 "2015-12-15T20:06:26Z")\
**Posts on this page:** 7\
**Page:** 1

<div class="post-metadata">

**Author:** ![Flakky](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/flakky/32/918696_2.png) [@Flakky](https://forums.unrealengine.com/u/Flakky)\
**Post date:** [December 15, 2015, 8:06pm UTC](https://forums.unrealengine.com/t/not-able-to-add-component-to-an-actor-from-components-graph/341551/1 "2015-12-15T20:06:26Z")

</div>

Hello Epic!

I need to add component to an actor from another component but unfortunately, Blueprint Graph does not allow me to do so, wich is very odd.

For example, I have a component, that I can add to any actor. But fuctionality of it needs couple of StaticMesh components inside of this actor. So… In order to make my component work, I have to add couple of staticmeshe components to this actor. But what if I need unkown number of those components inside actor?

I thought, that Add Component is Actor’s function, so why can’t I call it from component’s Graph?

[http://s1.uploadpics.ru/images/-kx8ak9Aqe.png](http://s1.uploadpics.ru/images/-kx8ak9Aqe.png)

But if I take ref of my component inside an Actor, Take owner and call it, everything is okay…

[http://s1.uploadpics.ru/images/-kSPvlcCql.png](http://s1.uploadpics.ru/images/-kSPvlcCql.png)

P.S. Turning off “Contex Sensitive” doesn’t help.

---

<div class="post-metadata">

**Author:** ![anonymous\_user\_33800a51](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@anonymous\_user\_33800a51](https://forums.unrealengine.com/u/anonymous_user_33800a51)\
**Post date:** [December 15, 2015, 9:05pm UTC](https://forums.unrealengine.com/t/not-able-to-add-component-to-an-actor-from-components-graph/341551/2 "2015-12-15T21:05:17Z")

</div>

Hi AIFlakky,

You can’t add Static Mesh Components to an Actor Component Blueprint currently. What you’re doing in your second image is adding a Static Mesh Component to Owner of Actor Component, which is Actor Blueprint. If you need to add Static Mesh Components, you’ll need to do it in Actor Component directly.

---

<div class="post-metadata">

**Author:** ![Flakky](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/flakky/32/918696_2.png) [@Flakky](https://forums.unrealengine.com/u/Flakky)\
**Post date:** [December 16, 2015, 6:20am UTC](https://forums.unrealengine.com/t/not-able-to-add-component-to-an-actor-from-components-graph/341551/3 "2015-12-16T06:20:44Z")

</div>

No. I do not want to add StaticMesh Component to my Actor component. I want to add SM Component to my Actor FROM Actor component. See fist image.

But it is very odd I’m not able to do so. Graph is simply disallow this function.

---

<div class="post-metadata">

**Author:** ![anonymous\_user\_33800a51](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@anonymous\_user\_33800a51](https://forums.unrealengine.com/u/anonymous_user_33800a51)\
**Post date:** [December 16, 2015, 3:08pm UTC](https://forums.unrealengine.com/t/not-able-to-add-component-to-an-actor-from-components-graph/341551/4 "2015-12-16T15:08:25Z")

</div>

Ah, I see what you mean. Yea, I would have expected this to work, at least if you explicitly cast to owning BP, but it does not. I’ve entered a bug report for this (UE-24550), and I’ll post here if I see any updates.

---

<div class="post-metadata">

**Author:** ![anonymous\_user\_33800a51](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@anonymous\_user\_33800a51](https://forums.unrealengine.com/u/anonymous_user_33800a51)\
**Post date:** [December 18, 2015, 5:47pm UTC](https://forums.unrealengine.com/t/not-able-to-add-component-to-an-actor-from-components-graph/341551/5 "2015-12-18T17:47:52Z")

</div>

I heard back from developers, and this isn’t something they’re going to focus on in immediate future. My suggestion for now would be to use a custom event or function in parent BP that adds static mesh component, and call that from Actor Component BP.

---

<div class="post-metadata">

**Author:** ![Flakky](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/flakky/32/918696_2.png) [@Flakky](https://forums.unrealengine.com/u/Flakky)\
**Post date:** [December 19, 2015, 9:41am UTC](https://forums.unrealengine.com/t/not-able-to-add-component-to-an-actor-from-components-graph/341551/6 "2015-12-19T09:41:18Z")

</div>

Hello. I’ve already found a way. On Begin Play inside component, I spawn Actor BP, that creates all of those components I need. This actorBP is like component manager, that adds components to owner.

Your suggestion is not okay in my case, coz sometimes I need to add my component to simple StaticMesh Actors on a scene. So there is no way to add any custom events inside those.

---

<div class="post-metadata">

**Author:** ![Dexgecko](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Dexgecko](https://forums.unrealengine.com/u/Dexgecko)\
**Post date:** [July 22, 2018, 6:52pm UTC](https://forums.unrealengine.com/t/not-able-to-add-component-to-an-actor-from-components-graph/341551/7 "2018-07-22T18:52:18Z")

</div>

That’s a really convenient solution AlFlakky, you should post it as an answer for more visibility! I almost missed it myself.

Unfortunately this hurts potential for modular scene components, which are crucial for design efficiency. There’s no reason you shouldn’t be able to add a component from any blueprint as long as target is an actor.
