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
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
- Changing "PreWarm" parameters on VFX Graph leads to significant performance drops and freeze
- Player display resolution changes to the native resolution of the monitor when Player becomes unresponsive
- [Quest] Game View is no longer rendered in the HMD if it's hidden in the Editor when using Meta Link
- Unity auto-generates code it can't compile when classes are renamed
- Terrain's "Grass Tint" Color picker has Alpha 0 by default
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.