Search Issue Tracker
Won't Fix
Votes
0
Found in
2017.4.0f1
2018.3.0a1
2018.3.12f1
2019.1.0a1
2019.2.0a1
Issue ID
1146537
Regression
No
EditorWindow.focusedWindow does not return null when the Editor is not focused
Steps to reproduce:
1. Open attached project "1146537.zip"
2. Open "Examples" -> "FocusedWindow"
3. Press on the Scene View to focus it (observe that FocusedWindow outputs "UnityEditor.SceneView")
4. Now click on the Desktop so the Unity Editor goes out of focus
Expected result: FocusWindow should output null (window should be empty)
Actual result: FocusWindow still outputs "UnityEditor.SceneView"
Reproduced in: 2017.4.26f1, 2018.3.14f1,2019.1.0f2, 2019.2.0a13
Note: Only reproduces in Windows
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] Crash on vendor/lib64/egl/libGLES_mali.so when Graphics Jobs(Experimental) is disabled and the Player is running on the Google Pixel 6 with the March security patch installed
- Profiler does not profile after building the Project with Autoconnect Profiler Option enabled
- Editor slows down when selecting a script with the [HideInInspector] attribute on arrays with dynamic values
- [XR] Custom Pass not working as intended with Single Pass Instanced when XR is initialized after runtime start
- NullReferenceException floods the Console when Previewing Probe Adjustments before Probe Volume Baking is finished, Prove Volume Baking hangs
Resolution Note (2020.1.X):
Low priority defects, unlikely to be fix for the near future.