The widget appears in the build version but not in the package version

If you’ve come across this problem, don’t panic, I may have a solution for you!

So let me guide you through your problem. (For information, this bug resolution is intended for people using UE5, but I think this kind of problem can also happen in UE4).

First, go to your widget, then to Graph:

Next, open the Class Settings window (the button is next to the play button) and check the parent class of your widget. The selected parent must be User Widget.

If not, that’s probably where your problem is. If you can, simply change the parent class to User Widget, or if you can’t, this is the way to go.
Go back to your Content Browser, click on Add or right-click in the folder of your choice, then go to User Interface > Widget Blueprint.

All you have to do is copy and paste what you’ve done in your old widget to the new one and assign the new widget in your code so that it’s the one that’s attached to the viewport. Repeat the operation for all widgets that don’t have User Widget as their parent.

Still can’t solve your problem? Then I may have another solution for you! This one’s a lot simpler to solve. Simply go to your widget, and check that your different elements are marked as Visible.

I hope this little tutorial has helped you solve your problem😁.

1 Like