UUserWidget Initialize vs NativeConstruct

NativeOnInitialized is called when you create the widget

NativePreConstruct is called when the widget is added to a viewport and when viewing the widget in the editor

NativeConstruct is called when the widget is added to a viewport, after NativePreConstruct

NativeDestruct is called when the widget is removed from a viewport

8 Likes