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
- Skinned Mesh Renderer with multiple Animator Components does not render when "Optimize Game Objects" is enabled
- [iOS]Certain characters are not displayed when using iOS devices with 18 OS and newer
- Trees do not render in 'Unity Terrain - URP Demo Scene'
- Silent crash when clicking in Scene View in a specific project
- The Player renders black on a Quest headset when MSAA, Post Processing, and Spacewarm depth submission are enabled
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."