Skip to content

Bug (Controller Input): Disconnecting a controller and connecting a new one not properly recognized #1684

@iamsirenstorm

Description

@iamsirenstorm

Describe the bug

Connecting or starting a game with a controller works as intended, however, if you disconnect that controller and decide to plug in a separate controller, that new controller will not properly work with the game. This includes not being able to function while in-game and controller Panorama styles not being properly applied (though focus navigation still works).

To Reproduce

  1. Start the game
  2. Plug in any controller and load into any map
  3. Interact with the game world, it should work as expected
  4. Disconnect the controller and connect a new, separate controller
  5. Attempt to interact again and observe that input is not being recognized
  6. Optionally reconnect the previously used controller and observe that input is recognized as expected

Do the above steps while on the main menu and observe that controller specific styles are not being applied (InputController and associated styles to the main menu panel are missing), but you can still navigate around the menu.

Issue Map

Any map, also applies to Panorama UI

Expected Behavior

Controller input should always be recognized when swapping controllers around.

MainMenu panel (root UI panels) in Panorama should also always have the proper controller classes applied when any controller is connected, not just for the first one of the session.

Operating System

Windows 10 22H2 19045.6937

Metadata

Metadata

Assignees

No one assigned

    Labels

    Priority 3: MediumSomething that should be attempted/looked at for the next release, and done if possible.Type: BugThis is a problem with something that should be working one way, but isn't.What: GameGame-related (entity, logic, etc) issueWhat: UIUI-related issues

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions