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
- Shader warnings are thrown after building High Definition 3D template
- "EndLayoutGroup: BeginLayoutGroup must be called first" error is thrown when changing Shader Precision Model from the Build Profiles window
- White artifacts/outlines are visible in the Garden Scene when viewing at meshes from a distance
- Shader warnings "Sprite-Unlit-Default" are thrown after building 2D Platrformer Microgame Template
- [Android] HLSL shader becomes corrupted when running on an Android device
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.