Search Issue Tracker
By Design
Votes
3
Found in
2018.2.0b8
Issue ID
1051236
Regression
No
[MacOS/Linux] Updating EditorApplication.isPlaying focuses Editor
Reproduction steps:
1. Install the Rider code editor.
2. Create a new Unity project.
3. Go to "Unity > Preferences > External Tools".
4. Set "External Script Editor" to JetBrains Rider.
5. Create a new script.
6. Open it.
7. Play and stop a scene in the Unity Editor.
8. Click the green 'Play/Edit' button in the Rider Editor (Screenshot attached).
Actual behavior:
- Unity Editor will be focused.
Expected behavior:
- The Editor doesn't focus.
Reproduced with:
2018.1.7f1, 2018.2.0b10, 2018.3.0a3
Note:
- Windows prohibits all applications to focus by themselves.
Comments (1)
-
Rich0
Jul 25, 2018 09:20
I find this *very* frustrating from a usability perspective. Unity IDE focus is also triggered twice during the compile process. This means when you save a file in your editor of choice it will refocus unity. Not to mention after compile the IDE appears over Xcode due to refocus - requiring a click to get it back. My normal behaviour is to browse the web while compiling, again, frustrating to have the browser pushed behind unity during the process. I can't stress enough how much more painful this makes the developer experience from my perspective during long compiles.
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
- Texture2D hash changes inside of an AssetBundle when rebuilding a SpriteAtlas bundle with an empty AssetPostprocessor Script enabled
- Aniso Level still applies when Generate MipMap is disabled in Texture Import Settings
- Mipmap Limit Groups long names are not truncated when creating a new Mipmap Limit Group with a long name
- “ArgumentException: Invalid double parameter.” error is thrown when Infinity is typed into the Fixed Timestep field
- GameObject becomes gray when using HDRP and STP together on macOS
Resolution Note (2019.3.X):
Entering playmode causing the editor to focus is by design.