I am using the new input system to have easy mixed input support.
I am also using the current UI system , UGUI I think. Not ready to rebuild and /or test the new CSS one yet.
The issue that I am having, is that all controls that have been set up for the new input system are working with Mouse, Virtual Mouse ( an analogue gamepad joystick mouse ) and keyboard controls. However, the Gamepad controls don’t seem to send all the calls.
Namely this:
public void OpenTopMenu()
{
TopNavUI.SetActive(true);
EventSystem.current.SetSelectedGameObject(null);
EventSystem.current.SetSelectedGameObject(firstMenuOption);
}
Any selection that calls this works if directly called. But if it is a button that you select with the Gamepad, it never sets the “first selected item”.
Yet the virtual mouse, normal mouse and keyboard select do set the “first selected item”.
I have set up the InputSystemUIInputModule using the template from the ThirdPersonController asset as well as my actionMaps with Actions. So should be correct.
================
Other possible bug that I have is
On the 2D vector for the “Move” Action, the keyboard down arrow does not move the character down, yet the left arrow will move diagonally down and left.