Search Issue Tracker

Active

Under Consideration for 1.8.X

Votes

0

Found in [Package]

1.8.2

Issue ID

ISXB-960

Regression

No

The mouse position is not updated when the "Mouse.WarpCursorPosition" function is executed

Package: Input System

-

How to reproduce:
1. Open the “WarpMousePosition.zip“ project
2. Open the “SampleScene”
3. Enter Play Mode
4. Click the Left mouse button anywhere on the Game view
5. Observe the mouse moving to the center-opposite side of the Game view and the Console logging the from-to positions
6. Click the Left mouse without having moved the mouse in the Game view
7. Observe the Game view and Console

Expected results: The mouse changes position in the Game view and flipped coordinates are logged in the Console
Actual results: The mouse does not change position and the Console logs the same coordinates on every click

Reproducible in: 1.6.3; 1.8.1 (2021.3.40f1, 2022.3.37f1), 1.8.2 (2021.3.40f1, 2022.3.37f1, 6000.0.10f1)

Reproduced on: macOS 14.5 (Intel)
Not reproduced on: Windows 11 Pro (23H2), No other environment tested

Note: On the first click, the mouse warps, on the second and later clicks it does not anymore

Add comment

Log in to post comment

All about bugs

View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.