Mouse.current?.WarpCursorPosition is not updating InputSystem.Mouse.current.position on Mac

I am allowing the user to navigate between buttons using the keyboard. To get that to work, I have to move the mouse over the desired button so the EventSystem highlights it. The code works perfectly on Windows. It does not work on the Mac.

I do not see a workaround.

It looks like WarpCursorPosition updates the mouse’s position but this is never passed on to the EventSystem. If I leave the hardware cursor visible I can see the mouse has moved but the highlighting by the EventSystem is wrong. If I even micro move the mouse it gets updated. It is a simple bug that should be fixed.

BTW, no difference between 2022.3 and 6. Same issue on both.

Hello there!

This is a known issue and you can track its progress here: Unity Issue Tracker - The mouse position is not updated when the "Mouse.WarpCursorPosition" function is executed

Tracking progress assumes there is progress to track. This is a one platform bug that would take very little time to fix but no sign of anyone even caring. I guess the MacOS is just an afterthought.