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
- WebGPU errors when CoreCopy shader is used to copy an MSAA texture
- Unity Cloud icon does not appear next to project and does not connect correctly when the project is created with Cloud but closed right after creation
- ScrollerSlider in the Scroller Control is still using UXMLTraits
- Crash on ExtractHandles when shutting down the Editor in a specific scene while Burst jobs are in progress
- Unity Hub closes with no "Project is currently open" window when selecting an already open project from the Projects list
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.