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
- Mono Windows Builds don't produce full log callstacks when generating logs
- AssetBundles fail to load when running in Built Players for Mobile Devices
- UI elements with text gets bigger and grey when Player window is moved to another screen with different resolution
- System name accepts multiline text but crops it on confirmation, duplicates input, and shrinks the field when empty
- UI element scale and position are wrong in project build when DRS is changed with HDR and Software Dynamic Resolution 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.