Search Issue Tracker

Fixed in 2022.1.X

Fixed in 2021.2.X



Found in



Issue ID




Mouse Y coordinate is wrong on windowed fullscreen player using a resolution smaller than native with New Input System enabled



How to reproduce:
1. Open the attached project ( and make sure the "SampleScene" is open
2. Press "Ctrl+B" and select a build location, then build and run the project
3. In the build using the dropdowns in the top left of the window change the resolution to one smaller then the curent monitor's and set the fullscreen mode to "Fullsecreen Windowed"
4. Press the "Apply button" and try to press the buttons on the bottom right of the screen

Expected result: The buttons can be pressed
Actual result: The buttons can not be interracted with

Reproducible with: 2021.2.0b5, 2022.1.0a1, 2022.1.0a4
Not reproducible with: 2019.4.29f1, 2020.3.15f12, 2021.1.15f1, 2021.2.0a17

1. Reproducible on Windows 10
2. Not reproducible on MacOS and Ubuntu 18.04
3. Couldn't reproduce on "Fullscreen Exclusive", only on "Fullscreen Windowed"
4. Used Input system 1.1.0-pre.5 and Unity UI 1.0.0 on all tested Editor versions

  1. Resolution Note (fix version 2022.1):

    Fixed in 2022.1.0a7

  2. Resolution Note (fix version 2021.2):

    Fixed in 2021.2.0b12

Comments (6)

  1. Haply-Oliver

    Aug 12, 2022 03:42

    After some further testing, I've discovered that the conditions for this are highly specific:

    - Build app (player) is full screen window (aka native res)
    - Call Screen.SetResolution( Screen.width - 100, Screen.height - 100, false )
    - Note that there is an apparent offset in the Y coordinate of the mouse along the rightmost edge of the screen
    - Returning to full screen window, or manually resizing the window (dragging the border with the mouse) will fix the offset

  2. Haply-Oliver

    Aug 12, 2022 03:37

    To add an additional detail: the Y coordinate is only off at the far right (approximately 100 pixels) of the application window.

  3. Haply-Oliver

    Aug 12, 2022 03:35

    Still seeing this on 2021.3.5f1, and my player settings Active Input Handling is set to Input Manager (Old). Fresh project for repro.

  4. oobartez

    Sep 07, 2021 17:09

    2021.2.0b10 is still unusable due to this bug.

  5. oobartez

    Aug 26, 2021 12:55

    I mean 2021.2.0b8, input system 1.1.0-pre.6.

  6. oobartez

    Aug 26, 2021 12:54

    I'm seeing the same problem with 2021.2.0b5, input system 1.1.0-pre.6 - mouse is unusable on non-native resolutions.

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.