# Blueprint Add Component Function Needs to be Deleted and Re-Added anytime a change is made

**URL:** <https://forums.unrealengine.com/t/blueprint-add-component-function-needs-to-be-deleted-and-re-added-anytime-a-change-is-made/409603>\
**Category:** Blueprint\
**Tags:** error, add-component, unreal-engine, Blueprint, question\
**Created:** [November 14, 2017, 2:53pm UTC](https://forums.unrealengine.com/t/blueprint-add-component-function-needs-to-be-deleted-and-re-added-anytime-a-change-is-made/409603 "2017-11-14T14:53:41Z")\
**Posts on this page:** 7\
**Page:** 1

<div class="post-metadata">

**Author:** ![falconblade](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@falconblade](https://forums.unrealengine.com/u/falconblade)\
**Post date:** [November 14, 2017, 2:53pm UTC](https://forums.unrealengine.com/t/blueprint-add-component-function-needs-to-be-deleted-and-re-added-anytime-a-change-is-made/409603/1 "2017-11-14T14:53:41Z")

</div>

I am using the add component function for a custom scene component. The custom component is written in C++ and is extended in Blueprints. I can add the custom component using the “Add Interactive Widget” node as shown (which is fine).

 ![220270-add.png](https://d3kjluh73b9h9o.cloudfront.net/original/4X/1/a/3/1a38d186d7a268a5d300b20d2ef089b36bba1aca.png)

In the implementing blueprint, I have to delete and re-add the Add Interactive Widget node anytime anything is change in the Interactive Widget component. And I mean ANYTHING. When the node loses its mind, it turns into a generic node as shown:

 ![220123-error.png](https://d3kjluh73b9h9o.cloudfront.net/original/4X/5/f/9/5f92d8838972f0bbf28c9239abcddf2c2d62294e.png)

To fix I have to delete and re-add:

 ![220125-fixed.png](https://d3kjluh73b9h9o.cloudfront.net/original/4X/0/2/f/02f897cdd9af77795997e2a038bf19501ce2e38f.png)

And we are all good. If I change anything in the component (in this case I just added a custom event and that was it) and save/compile it:

 ![220126-added.png](https://d3kjluh73b9h9o.cloudfront.net/original/4X/6/a/e/6ae8d5c7454a75414eff7e5a5e7fa25c51d17a9e.png)

You can see that the Node has already lost it’s connection to the interactive widget component by becoming a generic “Add Component” node before I even attempt to compile the implementing blueprint. This is when I have to delete / re-add to fix:

 ![220127-brokeagain.png](https://d3kjluh73b9h9o.cloudfront.net/original/4X/a/5/4/a54cb4e0f44470502056f3b657ac6fd1afe9eb16.png)

---

<div class="post-metadata">

**Author:** ![Xelj](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Xelj](https://forums.unrealengine.com/u/Xelj)\
**Post date:** [November 14, 2017, 10:41pm UTC](https://forums.unrealengine.com/t/blueprint-add-component-function-needs-to-be-deleted-and-re-added-anytime-a-change-is-made/409603/2 "2017-11-14T22:41:28Z")

</div>

I always thought that addcomponent node can not be used

 ![220167-1.png](https://d3kjluh73b9h9o.cloudfront.net/original/4X/3/e/8/3e82ab4130f0db9c44c63e1900e72b2e36db4baa.png)

---

<div class="post-metadata">

**Author:** ![anonymous\_user\_943e62f0](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@anonymous\_user\_943e62f0](https://forums.unrealengine.com/u/anonymous_user_943e62f0)\
**Post date:** [November 15, 2017, 7:45pm UTC](https://forums.unrealengine.com/t/blueprint-add-component-function-needs-to-be-deleted-and-re-added-anytime-a-change-is-made/409603/3 "2017-11-15T19:45:53Z")

</div>

Hey,

How did you call the Add Component node in your first screenshot? I can’t find any component node that is general like that. All are specific components like Scene or Static Mesh. Listing some detailed repro steps would help out.

---

<div class="post-metadata">

**Author:** ![falconblade](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@falconblade](https://forums.unrealengine.com/u/falconblade)\
**Post date:** [November 15, 2017, 7:53pm UTC](https://forums.unrealengine.com/t/blueprint-add-component-function-needs-to-be-deleted-and-re-added-anytime-a-change-is-made/409603/4 "2017-11-15T19:53:09Z")

</div>

I actually didn’t. I did exactly what you are saying by “Add Interactive Widget”, which was specific. It isn’t until I make a change in the “Interactive Widget” component that it becomes a generic node like that with the error showing on the bottom. So, yes… sorry about that… the first step is adding a component specific node. I have edited the above to hopefully help with some confusion.

---

<div class="post-metadata">

**Author:** ![anonymous\_user\_943e62f0](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@anonymous\_user\_943e62f0](https://forums.unrealengine.com/u/anonymous_user_943e62f0)\
**Post date:** [November 15, 2017, 8:21pm UTC](https://forums.unrealengine.com/t/blueprint-add-component-function-needs-to-be-deleted-and-re-added-anytime-a-change-is-made/409603/5 "2017-11-15T20:21:01Z")

</div>

I can’t find “Add Interactive Widget” anywhere in the editor even with ‘Context Sensitive’ off. When you are saying you " have to delete and re-add the Add Interactive Widget node anytime anything is change in the Interactive Widget component", is this in regards to the blueprint or component class? Also if you don’t mind can you also attach a copy of your project for me to look at?

---

<div class="post-metadata">

**Author:** ![falconblade](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@falconblade](https://forums.unrealengine.com/u/falconblade)\
**Post date:** [November 15, 2017, 9:31pm UTC](https://forums.unrealengine.com/t/blueprint-add-component-function-needs-to-be-deleted-and-re-added-anytime-a-change-is-made/409603/6 "2017-11-15T21:31:50Z")

</div>

I can recreate this by creating a blank project and adding two blueprints, one the inherits from a scene component and one that inherits from an actor.

 ![220277-twoblurpints.png](https://d3kjluh73b9h9o.cloudfront.net/original/4X/e/2/f/e2f91ece4aac1f75009c7df13c894250b7b7de91.png)

In the MyActor blueprint I add the “Add My Scene Component” node to begin play:

 ![220278-step2.png](https://d3kjluh73b9h9o.cloudfront.net/original/4X/f/8/b/f8b954fd17dccaa44878ac5e93a62ce79c05ac5c.png)

And then change something in “My Scene Component”:

 ![220279-step3.png](https://d3kjluh73b9h9o.cloudfront.net/original/4X/6/7/b/67ba0d4f17fc17023804fb2f7ffe3647f512e88d.png)

And the actor Node has changed to a generic node and is no longer connected to the MySceneComponent node:

 ![220280-step4.png](https://d3kjluh73b9h9o.cloudfront.net/original/4X/3/4/8/3481d802eb967d965d9907c84af177a0eefcbdc5.png)

---

<div class="post-metadata">

**Author:** ![anonymous\_user\_943e62f0](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@anonymous\_user\_943e62f0](https://forums.unrealengine.com/u/anonymous_user_943e62f0)\
**Post date:** [November 16, 2017, 8:21pm UTC](https://forums.unrealengine.com/t/blueprint-add-component-function-needs-to-be-deleted-and-re-added-anytime-a-change-is-made/409603/7 "2017-11-16T20:21:02Z")

</div>

Hey,

I was able to replicate the issue. I have logged a JIRA ticket with the developers for them to address this. You can access [UE-52484](https://issues.unrealengine.com/issue/UE-52484) at anytime to check the status of the bug.
