Search Issue Tracker

By Design

Votes

0

Found in [Package]

1.6.3

1.7.0

1.8.2

Issue ID

ISXB-940

Regression

Yes

InputSystem does not register (Xbox) controller inputs in the background when InputSettings.BackgroundBehavior is set to IgnoreFocus

Package: Input System

-

Reproduction steps:
1. Open the “ReproProject“ project
2. Open the “Assets/Scenes/SampleScene“ scene
3. Connect a controller
4. Enter Play Mode
5. Unfocus the Editor window by clicking on the taskbar or focus a different window
6. Press any of the D-pad buttons on the controller
7. Observe the Game View

Expected result: The cube moves when D-pad buttons are pressed
Actual result: The cube does not move

Reproducible with: 1.6.3 (2022.2.0b7, 2022.3.35f1, 6000.0.8f1), 1.7.0, 1.8.2 (2022.3.35f1, 6000.0.8f1)
Not reproducible with: 1.6.3 (2021.3.40f1, 2022.2.0b6), 1.7.0, 1.8.2 (2021.3.40f1)

Reproducible on: Windows 11 Pro (22H2)
Not reproducible on: No other environment tested

Notes:
1. Reproduced with Xbox Series X controller
2. Reproduces in builds and in the Editor

  1. Resolution Note:

    This is the intended behavior of windows gamepad API.
    https://learn.microsoft.com/en-us/uwp/api/windows.gaming.input?view=winrt-26100#remarks
    "A Windows application must have focus to receive input from a controller."

Add comment

Log in to post comment

All about bugs

View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.