Search Issue Tracker
By Design
Votes
0
Found in
2021.3
2022.1
2022.1.0f1
2022.2
Issue ID
1420088
Regression
Yes
Game Window isn't focused when entering Play Mode after opening a second game window and closing the primary one
Repro steps:
1. Create a new project
2. Open a second game window next to any other window and focus that other window
3. Enter Play Mode and observe that the primary game window is focused
4. Close the primary game window
5. Enter Play Mode
Actual: The only game window that is still opened isn't focused
Expected: Unity focuses the only game window
Reproducible with: 2021.3.1f1, 2022.1.1f1, 2022.2.0a10
Not reproducible with: 2019.4.38f1, 2020.3.33f1
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
- Fixing Message Loss in UMPE During Domain Reload
- The Editor freezes when ScheduleReadOnly of IJobParallelForTransform with dependency is used
- Text is truncated in the Inspector when the display scale is set to 150%
- CancellationTokenSource(<timeout>) has incorrect cancellation status when used in WebGL Player
- VFX property value names are cut off when properties with 'Arc' are viewed in the VFX Blackboard
Resolution Note (2022.2.X):
I was able to reproduce this ticket, but it looks like intended behaviour to me. Each Game View has a "Focus" toggle that must be ticked to take focus on entering play mode. In the scenario described, the new Game View does not initialize with "Focus" enabled, and thus is (correctly) not focused when entering play mode.