Search Issue Tracker
Active
Under Consideration for 1.17.X
Votes
2
Found in [Package]
1.17.0
Issue ID
ISXB-1739
Regression
No
Mouse delta accumulates error during panning when using Mouse.current.delta or <Mouse>/delta bindings in a polling context
Reproduction steps:
1. Open the attached "IN-121192.zip" project
2. Open the "SampleScene" scene
3. Enter Play mode
4. Click "Use Mouse.current.delta" or " Use action with bound mouse delta" button
5. Hover the mouse cursor over the red dot
6. Hold the middle mouse button and wiggle the mouse excessively within the colored window boundaries
7. End the pan interaction by placing the mouse cursor back on the red dot
8. Click the "Reset Camera Position" button
9. Observe the Camera position
Expected result: The difference in Camera position before and after 8th step is minimal
Actual result: The difference in Camera position before and after 8th step is significant, indicating accumulated error
Reproducible with: 1.11.1, 1.15.0 (6000.0.60f1, 6000.2.9f1, 6000.3.0b7, 6000.4.0a3)
Reproducible on: Windows 11
Not reproducible on: No other environment tested
Notes:
- Manual per‑frame delta calculations from Mouse.current.position do not exhibit this issue. This can be seen by clicking the "Manual Delta Calculation" on the 4th step instead
- Debugging suggests that InputControlExtensions.AccumulateValueInEvent() always receives Vector2.zero as oldDelta for Pointer.delta
Comments (1)
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
- Out-of-bounds memory access with multiple CanvasRenderers under a Canvas when using Mesh API
- Inspector tries to access file after it was deleted when the file was locked in Inspector window
- Changing Transform values in Search window Inspector loses focus while dragging and stopping mouse without releasing dragging action
- Saving changes on the dirty VFX Graph during the Play mode throws "The referenced script (Unknown) on this Behaviour is missing!" warnings
- VFX Graph Debug Info overlaps the "Initialize" block debug info by default
RjMelter
Nov 15, 2025 04:52
When polling a InputAction via value or passthrough, this issue causes the camera to unexpectedly jump every 4-5 or so seconds. I have tried on 6000.2.10/12 and 6.4 Alpha. I have tried changing graphic APIs in all versions to check for the jump.
The only thing I think it could be is potentially a conflict with Mouse Polling with gaming mice? Despite changing the settings, I have a mouse that polls at 1000,500,250,100 fps. Dropping it to 100 did nothing though...