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

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).

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:

To fix I have to delete and re-add:

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:

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:

I always thought that addcomponent node can not be used

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.

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.

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?

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.

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

And then change something in “My Scene Component”:

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

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 at anytime to check the status of the bug.