Widget Interaction in VR

First off: im using VR Works 4.16, so it should be 4.16.0 even when 4.16.3 is released, i hope that is not the problem.

Im using a modificated version of the VR Template. I have the widget interaction component in my BP_MotionController attached to the HandMesh.

The problem is: When playing in VR im able to see the debug line of my widget interaction component and when hovering over the button, it also activateds the hover event (changed color), but i cant click my button. I looked for various tutorials in the Internet, but all of them just say to use the “Press Pointer Key” with the widget interaction component.
My Code looks like this:

I thought that Press Pointer should be enought for the button “clicked” event, but it doesnt work. Input in generell does work since i also handle Pickup in this blueprint and it works perfectly.

Do you have any ideas, why this doesnt work?

maybe you should call “Set Input Mode UI” first.

I was getting similar issues in 4.20.
When using the “Press Pointer” node, it presses the UI button. (I should’ve seen it in the name :P)
The issue is fixed is you use the “On Press” event on the UI button, and not “On Clicked”.

253700-screenshot.png

I wasted half an hour with this one!! :stuck_out_tongue_winking_eye: