I found a bug with mouse scroll which can be reproduced on Mac and not on Windows for unknown reason.
Have a look at MouseHandler.cs UpdateInput(), lines 128-133: there is no code which clears scroll amount if Input.mouseScrollDelta is close to zero, so after first scroll it stays active whenever mouse moves.
This code worked for me:
- Code: Select all
var scroll = Input.mouseScrollDelta;
if (!Mathf.Approximately(scroll.sqrMagnitude, 0.0f))
mousePointer.ScrollDelta = scroll;
mousePointer.ScrollDelta = Vector2.zero;