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
- Prefab Overrides “Apply” button is too big and overlaps with the context menu’s outline
- Prefab Overrides “No Overrides” text is too large, and the the Context Menu of the Parent GameObject has a lot of empty space when opened
- “Screen position out of view frustum...” errors are thrown when zooming out in the Scene view after creating UI GameObject
- CurveTexture is not being released when unloading AssetBundle containing a Scene with ColorCurves post-processing component in Global Volume
- Crash on ExtractActiveCasterInfo when navigating the scene view in a project with specific lighting data
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.