World Widget Interaction Problem with buttons in Unreal engine 5.1

I don’t know if my problem is exactly the same as described here.

Context:

  • I work on OpenXR app, recently upgraded from Unreal Engine 4.27 to 5.1 that use the “old” input system, I have started my project from UE 4.27 OpenXR Template.
  • I maked a World UI with two buttons and want to interact with it with my controllers.

The issue I experiment:

  • When I call “Release Pointer key” on Widget Interaction Right/Left, my Unreal Window is unfocused, so I can’t interact with my app anymore with my controllers unless I maked Alt+Tab and manually re-focus my windows with my mouse.

My solution:
call function “set Focus To Game Viewport” after I call “release pointer key”

2 Likes