I made a menu with TileView, and I am trying to make it work with a gamepad. A tile(User Object List Entry) is a widget with a button. I want to use D-pad button or left stick to select an adjacent tile button, but it doesn’t work as expected while other buttons are ok.
With Render Focus Rule set to Always, I can see a blue wire frame on a focused tile and it shows that I can select an adjacent tile with a gamepad, but I just can’t press any button for some reason. Also, sometimes it teleports to a random tile.
When I open a menu, I get the first tile and set focus to it manually. And it works fine, I can press the first button.
I made a blueprint logic that in tick every tiles is checked if any of them is focused, and I found that the first tile(the one focused manually) is focused properly but others are not even though there is a blue wire frame on it.
Here is the logic. It just sets a focused button color.
TileView’s IsFocusable is set to false, and In a tile widget, every widget’s IsFocusable is set to false and Visibility is set to Not Hit Testable except a single button. So, what is focused on here?
Here is a demo video. When I open the menu, the first button is focused with SetFocus, and the button color becomes blue by the logic above. I can also press it. But using D-pad button or left stick to select an adjacent tile, only blue wire frame is shown, which means the logic above can’t find any focused button, and i can’t press it.