Widget Interaction Component *NOT* working with Sliders ( UE 5.3.2 )

I have a VR Project, from the VR Template in Unreal Engine 5.3.2, Each controller has a Widget Interaction Component, and the trigger button is mapped to Press Pointer ( Left Mouse Button ).

This works generally pretty well, but it does not work with Unreal’s Widget Sliders.
This seems to me like an oversight as it worked fine in Unreal Engine 4, I can’t find any way to adjust this to work with the sliders, and I need the sliders to work, short of making them myself from skratch with sketchy logic just to workaround this issue…

Anyone encountered this issue, Am i doing something wrong or is this a bug / oversight?
All other buttons and drop-downs etc. work, but sliders do not.

But it works with other elements (buttons?) in the exact same widget? Did you try running the Widget Reflector to actually see what you’re interacting with?

Hi, thanks for the quick response!

Not having used Widget Reflector before, I had to lookup how it worked, but If im not mistaken, this is for Screen Widgets, and not World Widgets?
( At least the Widget Reflector, appears entirely unable to detect any of my World Widgets )

I wouldn’t need a Widget Interaction Component for Screen Widgets. (afaik)
I’ll attach a short video below. It’s a VR Controller with a Widget Component attached to it.
The Slider has a Z Height of 100, compared to the others that are at 0-2, so It’s above everything else, but I am entirely unable to interact with it at all.

Edit:**

Sorry…, I took another few seconds of thinking and realized you probably mean to make the UI Screen Space first and then check it with the Widget Reflector.
It appears the sliders don’t work there either, so there must be something wrong with my settings.
I’ll check it with Screen Reflector and report back lol…

True that, my bad. However, I’ve just tested the widget interaction component (albeit in a non-VR setup) and it does seem to work with a slider in world space:

  • perhaps something blocks it in the widget hierarchy?
  • how about its Visibility?
  • enable debug trace hits on the component - maybe there’s an offset?
1 Like

Thanks for the confirmation!

As I mentioned above in my Edit, I tried making the widget Screen Space to debug with Widget Reflector, and while the Slider was being marked as Visible and it was hitting it, I still couldn’t move it with my mouse, so It wasn’t a Widget Interaction Component related issue after all.

For context: I had made a custom Widget with editable Variables to quickly change the look of the UMG Slider that was added to that widget. And the same Widget has a Vertical Slider also, so I can toggle a boolean to switch between them, removing the other, and the settings are being applied to whichever is then set as the selected one.

This logic works, so I couldn’t figure out what it could be then, so I remade the Custom Widget exactly as it was, and it now works…
So I guess I’ll just mark it down as Unreal being Unreal or something…
.
.
Thanks so much anyway for you help, and now I have access to another Widget Debugging tool ( Widget Reflector ) that I didn’t know about before, so thank you also for that!

1 Like

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.