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
- [Android] Stage information is not logged when Log Shader Compilation is enabled
- [Vulkan] The memory allocation increases rapidly when there are multiple (three or more) Real-Time Reflection Probes in the Scene
- [macOS] Library folder of the opened project can be deleted which leads to the crash
- “Default Scene” dropdown field contains a spelling mistake “Default Builtin”
- Editor crashes on PPtr<Mesh> after adding Text Mesh and Cloth Components to the same GameObject
Resolution Note (2019.3.X):
Entering playmode causing the editor to focus is by design.