Search Issue Tracker
Fixed in 2020.1.X
Fixed in 2019.3.X
Votes
0
Found in
2017.4
2018.4
2019.2
2019.2.8f1
2019.3
2020.1
Issue ID
1190219
Regression
No
[MacOS] Editor steals focus from other applications when entering Play mode and quickly switching to another application
How to reproduce:
1. Create and open a new project
2. Load another application (i.e. Visual Studio Code)
3. Enter Play mode and quickly switch to the opened application (can be done swiftly by holding 'cmd' key and pressing 'p' and 'tab' consecutively)
Expected result: Unity Editor steals focus
Actual result: Unity Editor does not steal focus
Reproducible with: 2017.4.33f1, 2018.4.12f1, 2019.2.12f1, 2019.3.0b10, 2020.1.0a12
Additional notes:
- The same behavior can be witnessed when exiting Play mode and switching to a different program in a large project
- Using Windows 10, Editor does not steal the focus when quickly switching the application, however, Unity's application tab starts flashing orange in the taskbar
- [Windows10] Another issue was reported that upon saving a script (using Visual Studio) Editor would recompile the script and start flashing orange in the taskbar if everything was okay, however, if the script contains errors, the Editor would steal focus
Slack thread:
https://unity.slack.com/archives/C06TQ9LFP/p1572261878172600
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
- Asset list items fail to load content when scrolling through the List view in Asset Store Search
- Uninitialized variable warning appears in the Inspector of a custom shader when the variable is initialized
- "Failed creating toolbar element from ID..." error is thrown when resetting the Scene view Overlay layout while an Asset Transformer Toolbox overlay is active
- Entity ID for Font Assets is serialized twice which throws an error when using Debug Inspector
- Play Mode can be entered when disabling Adaptive Performance and pressing either the Play Mode button or the keyboard shortcut to enter Play Mode before recompilation leading to errors and warnings thrown
Resolution Note (fix version 2020.1):
Fixed with 2020.1.0a20
Resolution Note (fix version 2019.3):
Fixed in 2019.3.1f1