After packaging my project the buttons for my main menu UI dont work. They work normally in the editor
Hello!
How is going?
This could be for many reasons.
Maybe other UI is taking the focus. If you use an black screen or something as transition on loading or something like that.
You can try to launch the game in standalone in the editor to check this.
If you think that is not the case, it will be great if you can share a screenshot of the UMG or the c++ class of your UI.
Commonly there is something ‘over’ your buttons (or other interactive elements) with visibility setting as Visible
, blocking your button click. Could be a number of reasons.
Could also be that you don’t have your mouse enabled properly (mouse & UI mode)
Re-Test in-editor using ‘Standalone’ and ‘New Editor Window (PIE)’ modes, viewport can sometimes do weird scaling of other invisible widgets that can overlap.
Play in viewport and use the widget reflector (Tools → Debug → Widget Reflect) and mouse over the button to make sure there’s nothing else blocking.
Let us know what the feedback is from the above