Search Issue Tracker
Fixed in 1.5.1
Votes
1
Found in [Package]
1.3.0
Issue ID
ISXB-48
Regression
No
On-Screen Stick jitters when used with Player Input component with auto-switch enabled
Reproduction steps:
1. Open user-submitted project
2. Enter Play Mode
3. Left-click and hold on the white square in the bottom-left of the screen
4. Drag mouse around
Expected result: The white square follows mouse position in a certain radius
Actual result: The white square jitters and doesn't follow the mouse
Reproducible with: 1.2.0 (2019.4.36f1), 1.3.0 (2020.3.30f1, 2021.2.13f1, 2022.1.0b9, 2022.2.0a5)
Note:
- Disabling auto-switch property of Player Input component of "Player" GameObject results in expected behaviour
Comments (3)
-
zakirshikhli
Feb 23, 2024 06:02
The workaround from RESOLUTION NOTE will not help, if there are 2 sticks. They will not work together and gameplay will be broken. For example in a drone game with 2 control sticks.
-
zakirshikhli
Feb 21, 2024 05:02
This bug still present on 1.7.0 version. Unity 2022.3.19f, 2022.3.20f
This is a very serious bug... -
Alvarden
Feb 16, 2024 17:35
That bug is still present as for the 1.7.0 version (Unity 2022.3.17f1)
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
- Typos in High Definition 3D sample tutorials
- “Handles.Repaint called outside an editor OnGUI" error is thrown in the Console when creating a new Tile Palette from the Tile Palette Overlay in Scene view
- Shader Graph window icon is blurry and low quality when the Shader Graph is created using the Universal 2D template
- “Export HDRP Sky to Image” command error message does not indicate that Game view must be visible
- Adaptive Performance Settings Framerate field doesn't display the "supported without VSync" warning, when the field is collapsed in Build Profiles
Resolution Note (fix version 1.5.1):
The fix for this bug involved introducing a new switch on the OnScreenStick component called 'isolated mode' which must be enabled for the virtual stick to work with correctly with the PlayerInput component as set up in this repro project. Please see documentation at https://docs.unity3d.com/Packages/com.unity.inputsystem@1.5/api/UnityEngine.InputSystem.OnScreen.OnScreenStick.html#UnityEngine_InputSystem_OnScreen_OnScreenStick_useIsolatedInputActions for more details.
Resolution Note:
The fix for this bug involved introducing a new switch on the OnScreenStick component called 'isolated mode' which must be enabled for the virtual stick to work with correctly with the PlayerInput component as set up in this repro project. Please see documentation at https://docs.unity3d.com/Packages/com.unity.inputsystem@1.5/api/UnityEngine.InputSystem.OnScreen.OnScreenStick.html#UnityEngine_InputSystem_OnScreen_OnScreenStick_useIsolatedInputActions for more details.