Create Widget bug, Construct not working if not Added to Viewport

KhalimWu
Fri, 27 May 2016 04:13:09 +0000
UI

on beginplay create a widget, the widget has an Add to Array on the construct. if i dont do a add to viewport and instantly remove from parent the add to array never executes, its like if it needs to be “activated” by adding it to the viewport (using Set Input Mode Game and UI worked too). Tested using a dummy Print String “Hello”, doesnt displays anything either, but if i set the Add to Viewport, it shows the string inmediatly after Widget Creation.

9 posts - 1 participant