UMG is disappear when I get it from code

It doesn’t look like you’re storing your new widget in a persistent variable anywhere. I think it’s being garbage collected.