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
- Shader transparency, discard, and clip are not working when using the Player
- Error is thrown when clicking on warning in the console
- Long IL2CPP build time when project has a .ufbx library wrapper
- Cursor doesn't change to the resizing when using the Rect Tool and the Sprite is too close to the bottom of the Scene View
- InvalidOperationException exception is thrown when Editor Default Text Rendering Mode is set to "Bitmap" and Editor Font is set to "System Font" and an array is expanded in the Inspector Window
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."