Missing Component Still a Variable

Hello,

Today I was looking at the Player Character blueprint for my team’s game and noticed that there is a component that was missing. I started diffing the file against the old revisions and found out where it got removed, but I do not remember deleting the component when I submitted the change. At this point I decided to just add the component back into the blueprint but I was unable to name it the same as it was in the previous revision.

As it turns out, the component (the component in question is a Material Billboard) is still listed in the Components section of the Variables list. There is no way to delete components from this list as far as I know. I also noticed another component from this variables list that is no longer present in the Components section of the blueprint.

Hopefully you get the picture since I know this sounds really confusing. I am concerned that the Blueprint is corrupted and will eventually start causing problems. As it stands currently, everything else seems to be working properly.

I can provide pictures should it be requested.

Thanks

Thanks for the response, unfortunately the revision that caused this issue happened last week and I have opened and closed the editor several times since then.

I’ve had this same issue or at least a similar issue.

I’m using 4.14 and already on a couple occasions while making updates to numerous blueprints my player controller’s variables of type structs would disappear and it would not let me re-create the with the same name right away. The only way I managed to recreate the variables is to save the project as is, close the editor and re-open it.

Upon re-opening the project the editor would tell me that it can’t find variable with name X and would ask me if I want to remove it. If you specify to remove it you can then re-create the variable with the same name. However, all function inputs and outputs of that struct type would require the type to be reset.

Right your issue was a missing component and mine was a missing variable so the steps that I took to somewhat resolve my issue might be different.

They definitely sound like they could be a result of the same bug though.

Hey theHolson-

From my understanding, you added a material billboard component (which added to the variables as well), then the material billboard component was removed from the components hierarchy but was still showing in the variables section of the blueprint? Are there other components to this blueprint? Have you been able to reproduce this behavior since the first time it occurred?

If this is not the behavior you’re describing, please include screenshots as well for clarification.

That is true, hopefully this will get the ball rolling.

There are a large number of components in this blueprint and I am not sure how to replicate the issue since the changes that caused the component to be removed do not deal directly with the Material Billboard.

Where were the changes that were made prior to when you noticed the component was missing?

Sorry for the late response, got busy at work.

The other changes made to the Blueprint was the beginning of a basic implementation of a melee system. Some input event nodes were added which called an event on the player.