Hi everyone. I’m developing using Unreal Engine 5.2 and I am super confused why this is happening because I thought arrow key navigation is what Common UI supports under the hood… I suspect sth related to the game character controls, because the character input is mapped to WASD, not the arrow keys…
But at the On Activated node of this Widget blueprint, I am setting the player controller input to UI only… What could cause this issue?
The issue was that in the C++ code of the GameModeBase, one of our teammates was changing the navigation rules like this
class SAMPLEGAME_API FGameNavigationConfig : public FNavigationConfig
{
public:
FGameNavigationConfig()
{
KeyEventRules.Reset();
KeyEventRules.Add(EKeys::A, EUINavigation::Left);
KeyEventRules.Add(EKeys::D, EUINavigation::Right);
KeyEventRules.Add(EKeys::W, EUINavigation::Up);
KeyEventRules.Add(EKeys::S, EUINavigation::Down);
}
};
Once the Reset() function was removed, everything worked as normal.