[UMG] Accessed None Trying To Read Property Error

Hey, everybody!
I have an unexpected problem where I can’t read properties.

I have a widget template (in which I use NamedSlot):
image

When I inherit from it and add other widgets to the NamedSlot, like here:
image
And then I want to set the text:


But in the game I get errors when loading the widget:

Please help me with this problem.

That does seem weird. Try to put this in the “OnInitialized” event instead and see if it works. Or you could try adding a very tiny delay… My guess is that there’s some quirk where the widgets don’t exist yet during the one frame where it is constructed.



:sob:

SOMETHING VERY STRANGE


As a crappy test, what happens if you add a short delay before checking?