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
- Out-of-bounds memory access with multiple CanvasRenderers under a Canvas when using Mesh API
- Inspector tries to access file after it was deleted when the file was locked in Inspector window
- Changing Transform values in Search window Inspector loses focus while dragging and stopping mouse without releasing dragging action
- Saving changes on the dirty VFX Graph during the Play mode throws "The referenced script (Unknown) on this Behaviour is missing!" warnings
- VFX Graph Debug Info overlaps the "Initialize" block debug info by default
Resolution Note (fix version 2020.1):
Fixed with 2020.1.0a20
Resolution Note (fix version 2019.3):
Fixed in 2019.3.1f1