Hello, I’m new to unreal and I’m trying to create a simple 3D user interface for VR. I’ve created a widget that changes object according to pressed buttons and it works fine, but when I want to change Text or button color of the widget, nothing happens. OnHover settings don’t show up, but the sound plays. I thought the problem was that I use widget already placed in the level and somehow creating a new instance of the widget, but I also tried creating the widget on Event Begin Play and it didn’t help.
Now I created a widget that only has one simple button that has no functionality but changes color according to the state Normal/Hovered/Pressed and I also added sound to test that it works. I placed the button in the level and the sound work but the color doesn’t change. Is there a parameter that stops the widget from updating?
(post deleted by author)
I also tried adding text that will change after pressing the button, but it won’t show up. The testing print shows
(post deleted by author)
TEST01 is the name of the widget. The foreground colors also don’t update.
Previously, I had created a Widget with WidgetSwitcher, but it also didn’t update the screen even though the Active Widget Index changed (I printed it). It is as if the widgets never render after construct, but the functionality is ok.
I have found the solution in another forum. After I set “Tick when Offscreen” on the Widget Component it started to work.
1 Like


