Search Unity

  1. Unity 6 Preview is now available. To find out what's new, have a look at our Unity 6 Preview blog post.
    Dismiss Notice
  2. Unity is excited to announce that we will be collaborating with TheXPlace for a summer game jam from June 13 - June 19. Learn more.
    Dismiss Notice

Question Old (new?) not getting mouse up always for windowed app

Discussion in 'Input System' started by andyz, Feb 12, 2024.

  1. andyz

    andyz

    Joined:
    Jan 5, 2010
    Posts:
    2,287
    With the old system Input.GetMouseButtonUp for 0 does not seem to fire if your mouse is out of the window and you say press and release right mouse and then release left mouse button and then move back over play window (always happens in editor). Or otherwise lose focus from the Unity window perhaps?

    Even Input.GetMouseButton ends up wrong until you next press the left mouse button.
    Is this a known issue and there is a common way to handle it?

    Is it fixed in new input system?