I’ve been using the Unreal Engine a lot over the past week. I’ve recently hit a dilemma that I haven’t been able to solve through Google.
So I created a UI widget, MenuItem, which is a widget that will be the child of a different UI widget, Menu.
I created a function for MenuItem called SetText. This is where I’m having issues. On the MenuItem widget, there is a text widget which is assigned to the variable Title. Now all I wanted this function to do is to set the text of Title. However, when I run it, I get the error: “Accessed None trying to read property of *Title *from function: ‘SetText’”.
I call the *SetText *function on an instance of MenuItem in the Menu Blueprint. It manages to retrieve the input just fine, but it doesn’t seem to know what the value of *Title *is.
I’ll leave the Blueprint screenshot below to help out.
Thanks for your time,