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
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
Add comment
All about bugs
View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.
Latest issues
- Opening Terrain Prefab in Prefab Editing Mode throws "NullReferenceException" error
- [Search] Dragging query pills put them behind the search text field
- A CustomPropertyDrawer that returns a PropertyField for a property named the same as a child field will not render all child fields
- Graphics Settings shows default values instead of the real values in the Rendering Debugger when Volume.profile is assigned via script
- Deleting multiple Tags throws “NullReferenceException”, and "Retrieving array element that was out of bounds" errors when holding the Enter key
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."