Search Unity

Input system goes crazy when Unity looses focus

Discussion in 'Input System' started by KeithBrown, Jan 20, 2021.

  1. KeithBrown

    KeithBrown

    Joined:
    Apr 1, 2017
    Posts:
    191
    The title says it all. When Unity looses focus the input just goes crazy in Play Mode. I cannot trouble shoot in Visual Studio because when switching back to Unity i now have Horizontal and Vertical values that swing widely from -1 to 1 and keyboard input that randomly shows keys as being pressed. If i pause unity, then the input values stop all random values.

    Does anyone have any idea what might be happening?