Search Unity

Bug Mouse position reset when window loses focus

Discussion in 'Input System' started by qkjosh, Jan 14, 2023.

  1. qkjosh

    qkjosh

    Joined:
    Nov 29, 2015
    Posts:
    33
    Hi, it seems like whenever the game window loses focus, the mouse position Vector2 gets set to (0,0). This makes your mouse position snap to the bottom left instantly. I see in the changelog for version [1.1.0-pre.6] there is a comment saying this(?) was fixed: Controls such as mouse positions are no longer reset when focus is lost.

    However, this seems to be exactly what is still happening. I'm using Version 1.4.4.

    upload_2023-1-13_22-16-45.png