Begginer widget question

I’m having a really strange issue! i have a widget blueprint with an exit button added, it’s just this, then i click play my scene appears and i click ‘‘EXIT’’ button and everything works fine and i return to editor

But when i do the packaging (Or launch) The button doesn’t work anymore, i tried to follow youtube tutorials and all of them appear to don’t have this issu

Im using 4.7.3

Thanks