Widget button deleted but still on screen ...

Hello World !

Im working on a School project, a Dating Game, so I use a lot of Widgets.

In my widget, I deleted a button because it is not working properly but when I launch the game, the button is still on the screen. I deteled everything in reference with that button in the Graph and in the Designer.

First time having this issue in 2 years of working in the Unreal Engine

By the way, I work on the 4.18 version

Thank you guys for your help (sorry for my english) :slight_smile:

You have a screen shot of the widget graph and designer?

I show you here that there’s no more button (red cercle)

Here, I delete everything related to that button in the Graph

And here, the button still appear on the screen …

The suivant button is still there but hidden. You have to actually delete it from the list.

I forgot to mentionned that, the suivant button in the list is another button hidden in the widget, the button that still appearing and deleted was named = “BontonSuivNote”

Sorry …

Honestly it’s either a glitch or you are overlooking some hidden button. I would try 2 things, first unhide all your buttons and see what is actually in the widget, if that doesn’t reveal any issues then try restarting the editor. I know it sounds silly but unreal does this occasionally just has weird random bugs that go away on restart. Another thing that comes to mind without actually seeing more of your blueprints is if you duplicated the widget to make a new variation since one wasn’t working initially and kept both old and new, if you didn’t change the widget class where you create it to the new version you would still be creating the old version with the bad button not the new one. Just another thought if it applies.

Alright thank you sir for your time and for your help.

Yes I duplicated some widgets, and I think I found the problem. Lets take a look:

I have widget Test_1. I Duplicated it to make widget Test_2. And I’m changin someting in Test_2, nothing work (like that button). Put a print in the OnClicked event, nothing printing.

And I have gone into the widget Test_1 to change the same thing, and it worked in the Test_2. It’s like Test_2 is a child of Test_1. First time happened to me. I don’t know if it’s a bug or …

But I think I found the solution. Thank you again :wink:

Cool, glad I could help! Can you mark the answer as resolved, thanks.

Alright :wink:

sorry again, how do you mark as resolved ?

Where I answered your question you should be able to “accept” the answer to close the question.

alright ok thank you