Search Issue Tracker
Won't Fix
Won't Fix in 1.11.X
Votes
0
Found in [Package]
1.11.0
Issue ID
ISXB-1079
Regression
No
Button state fluctuation when switching focus between two Game views while in Play Mode
Reproduction steps:
1. Open the attached "repro_IN-84451" project
2. Open the "Assets/Scenes/ControlScene.unity" Scene
3. Make sure you have two Game views and both of them are side by side
4. Select "Display 1" on the left Game view and "Display 2" on the right game view
5. Make sure that both Game views are focused by selecting "Play Focused" on both windows
6. Enter the Play Mode
7. Press the 'b' button and change the focus between the Game views
8. Observe the output on the right side of the "Display 1" Game view
Expected result: The output shows only "b:1", indicating that the 'b' button stays enabled without being disabled after each new Game view focus
Actual result: The output shows "b:0" first and "b:1" after, indicating that the 'b' button is being disabled before being enabled after each new Game view focus
Reproducible with: 1.3.0 (2023.1.0a1), 1.10.0 (2021.3.44f1, 2022.3.48f1, 6000.0.21f1)
Reproducible on: Windows 10 (22H2)
Not reproducible on: No other environments tested
Note: Reproducible in Player while switching focus between two different monitors
Add comment
All about bugs
View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.
Latest issues
- Performance Markers Search window shows an empty entry in the list
- Enabling Deep Profiling in Performance Markers Search window breaks Inspector panel buttons when navigating through the marker items
- An "InvalidOperationException" error is thrown when TryRemoveItem is used with rebuildTree set to false
- Build fails with IL2CPP error when building on Android platform in a specific project
- Resize to Fit option for Import Activity window's Columns does nothing
Resolution Note:
This is just the standard window focus change behaviour - when focus changes between windows the keyboard state is reset.
However you can change this behaviour with the setting:
Project Settings / Input System Package / Settings / Background Behavior
If you set this to "Ignore Focus" then there is no keyboard state reset when switching focus between windows - you will not see these "extra" key up/down events.
Resolution Note (1.11.X):
This is just the standard window focus change behaviour - when focus changes between windows the keyboard state is reset.
However you can change this behaviour with the setting:
Project Settings / Input System Package / Settings / Background Behavior
If you set this to "Ignore Focus" then there is no keyboard state reset when switching focus between windows - you will not see these "extra" key up/down events.