Search Issue Tracker
By Design
Votes
0
Found in [Package]
1.4.4
Issue ID
ISXB-346
Regression
No
New Input System inconsistency when using Delta mouse over position
Reproduction steps:
# Open the user’s attached project
# Enter the Play Mode
# Click the left mouse button in the Game window
Expected result: Turns green if the left mouse button is pressed
Actual result: Turns yellow if the left mouse button is pressed
Reproducible with: 1.1.0-pre.6, 1.2.0, 1.3.0, 1.4.2 (2020.3.40f1), 1.4.3 (2021.3.12f1), 1.4.3 (2022.1.20f1), 1.4.4 (2022.2.0b11, 2023.1.0a15)
Could not test with: 0.1.2-preview, 1.0.0-preview, 1.0.0, 1.1.0-preview.1 (2020.3.40f1) (GameControls.cs(18,38): error CS0246: The type or namespace name 'IInputActionCollection2' could not be found)
Reproduced on: Windows 10 Enterprise 21H2
Note:
* Input Mappings will provide different results when using a modifier and either delta mouse or position mouse
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
- "Unsupported texture format R16 for a swizzle" error and texture is not correctly rendered when using texture Swizzle and reimporting texture asset
- Tab order is incorrect after re-ordering
- [Ubuntu] Red squares instead of ticks in dropdown options
- Multiple simultaneous input with the touch screen sometimes leaves button in not default state
- Crash on ShowDelayedContextMenu(bool) when changing the Size options of a Visual Element in the UIToolkit Inspector
Resolution Note:
This is by design. The binding in the input actions for the drag is set to Mouse Position, so that will always fire on a click and paint the image yellow.
If you chane the binding to Mouse Delta it will change the behaviour to how it is wanted according to the code: drag = yellow & click = green.