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
- [Player Settings] [Mobile] [Rendering] - Multithreaded Rendering should be changed pre profile and not globally
- [Player Settings] [Mobile] [Rendering] - Normal Map Encoding should be changed pre profile and not globally
- [Player Settings] [Common] [Rendering] - Lightmap Streaming and Streaming Priority should be changed pre profile and not globally
- [Player Settings] [Common] [Rendering] - HDR Cubemap Encoding should be changed pre profile and not globally
- [Player Settings] [Common] [Rendering] - Load/Store Action Debug Mode should be changed pre profile and not globally
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.