Hello,
There seems to be something particular about a 3D WidgetComponent being inside the FirstPersonCharacter actor that stops the widget visually updating but I don’t know how to get around it.
I have a widget with a function on it that, when called, adds a custom widget to a scrollbox (using the create widget and add child nodes).
This works fine when I put the main widget in an actor directly in the game world, get a reference to that actor, cast to it, get the WidgetComponent and call the function on it.
However, when I call the function on the same widget in a 3D WidgetComponent in the FirstPersonCharacter, the new custom widget is invisible. I know it’s there because I can get the child count of the scrollbox and it increases when I call the function.
Any idea what’s going on?
Thanks!