isVariable widget component references are None during PreConstruct.

I use world space widget UI dialogs that are assembled using widget components which themselves are customizable in the editor’s design view using instance editable properties. The properties are evaluated during PreConstruct and only aesthetically modify key child widget components.

The problem is, half the time when I reference a child widget component that was flagged as “isVariable” from the PreConstruct event, the reference throws the “Accessed None trying to read property” warning resulting in configuration failure.

As a workaround i’ve added a 100ms Delay node with an if that loops n times until the key child widget references return as valid. This seems like a poor solution to something that shouldn’t be an issue.

Custom Slider Example

Why aren’t my child widget components which are added via the editors design view and flagged as isVariable not resolved by the editor before the editor calls PreConstruct? I’d use the Construct event instead, but they I loose the WYSIWYG design time capability.