Search Issue Tracker
Fixed
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
-
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
- 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:
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.