Search Issue Tracker
By Design
Votes
1
Found in [Package]
1.1.0-preview.3
Issue ID
1319692
Regression
No
[Input System] Stick events are spammed in Play mode when using a PS4 controller and not moving the joysticks
How to reproduce:
1. Open the user's attached project "Test PS4 controller.zip"
2. Connect a PS4 controller to the computer
3. From the Project tab, open Assets/Scenes/SampleScene.unity
4. Enter Play mode
5. Observe the Console tab
Expected results: no messages are logged in the Console if the left joystick is not being moved
Actual results: "Stick moved: (0.0, 0.0)" is spammed in the Console even though the controller is not being interacted with
Reproducible with: 2019.4.22f1, 2020.2.7f1, 2020.3.1f1, 2021.1.0b12, 2021.2.0a9 (Input System 1.0.2, 1.1.0-preview.3)
Could not test with: 2018.4.33f1 as it requires outdated versions of Input System
Notes:
- The issue is not reproducible with Nintendo Switch Pro and Xbox One controllers
- The issue is reproducible on macOS (Player and Editor), Windows (Player and Editor)
- The issue doesn't seem to reproduce on Linux (Player and Editor) as no messages are logged at all even when moving the left joystick
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
- Too little validation messages in the "WebAssembly Language Features" Memory settings
- Project Settings Search Highlights are misaligned when using the Bitmap Text Rendering Mode
- "GetControlID at event ValidateCommand returns a controlID different from the one in Layout event" Warning is thrown when undoing the deletion of Sprite Shape Profile
- Memory related fields in the "WebAssembly Language Features" can be set to the negative numbers
- "WebAssembly Language Features" Header in the Player Settings has a smaller indentation
Resolution Note:
Action was set to "Pass-Through". By design, there is no filtering whatsoever applied to these actions. If the state changes in any way (which it does here; the still will constantly wiggle around by small amounts), the action performs. Setting the action to "Value" instead immediately solves the problem.