Hey , what’s the best practice for using UMG for a pause or in-game menu?
I’m currently having the HUD spawn the widget on Begin Play, destroy the widget on End Play, and have a key to toggle visibility of a window.
I need to destroy it on end play as I want it to disappear on map transition, however when I stop playing in the editor, and the HUD End Play event causes the widget to be removed from the viewport, the whole editor crashes.
Any ideas? Thanks