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
- Skinned Mesh Renderer with multiple Animator Components does not render when "Optimize Game Objects" is enabled
- [iOS]Certain characters are not displayed when using iOS devices with 18 OS and newer
- Trees do not render in 'Unity Terrain - URP Demo Scene'
- Silent crash when clicking in Scene View in a specific project
- The Player renders black on a Quest headset when MSAA, Post Processing, and Spacewarm depth submission are enabled
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.