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
- NullReferenceException when setting 'isTextObjectScaleStatic' to false on a disabled TextMeshPro GameObject
- Shader Stripping Custom Options disappear when exiting Play mode without reloading Domain
- Decals do not get projected when 'Rendering Layer Mask' on a GameObject is 23rd Layer or above due to encoding/decoding issues
- Deriving from SearchContextAttribute doesn't always work
- Scripting API documentation is missing for macOS editor extensions
Resolution Note (fix version 2020.1):
Fixed with 2020.1.0a20
Resolution Note (fix version 2019.3):
Fixed in 2019.3.1f1