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
- WebGL Player with WebGPU Graphics API fails to render Scene when custom Render Feature is used
- “EndLayoutGroup” error thrown when changing Shader Precision Model settings in Build Profiles window > Player Settings Overrides
- Button hover state uses default theme color when a custom .uss is applied
- Samples Showcase script warning does not clear after enabling required settings until GameObject is reselected
- VFX Particles receive shadow artifacts when using ShaderGraph with enabled shadows and Face Camera Plane Orient mode
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.