CreateWidget Bug - exposed property pins NULL on OnInitialized, useless.

Roy Wierer (Seda145)
Wed, 06 Oct 2021 02:25:55 +0000
UI

To reproduce bug:

Create a widget, add an actor property and expose it.
Spawn the widget by using the BP node CreateWidget, link an actor reference to the exposed property pin.

Inside the widget, on the only event fit for creating delegate bindings (OnInit), the exposed property will be NULL. This forces me to implement a bad design (public setup function called by the widget’s creator after the widget constructed)…

2 posts - 1 participant