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
- Articulation Body with 'Revolute' Joint Type has erratic behavior when Upper Limit is set to above 360
- WebGL Player fails to render Scene when Terrain with Detail Mesh is added and WebGPU Graphics API is used
- Inconsistent errors are logged when different types are passed into the Query "Q<>" method in UIToolkit and the ancestor VisualElement is null
- Crash on GetMaterialPropertyByIndex when opening a specific Scene
- Discrepancies in the styling are present when using a TSS file instead of a USS file in custom EditorWindow
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."