Search Issue Tracker
Fixed in 2020.3.44f1
Fixed in 2020.3.X, 2021.3.X, 2022.2.X, 2023.1.X, 2023.1.0a20
Votes
0
Found in
2020.3.39f1
2021.3.8f1
2022.1.14f1
2022.2.0b6
2023.1.0a8
Issue ID
UUM-12434
Regression
No
Error/crash when EditorWindow.Close() is called in EditorWindow.OnLostFocus()
Reproduction steps:
1. Open the attached project “Test”
2. Open Example > Close() Example
3. Lose focus for “Close() Example” Window (click anywhere in the Editor)
Expected result: Custom Window is closed when it loses focus
Actual result: Editor crashes/error is thrown
Reproducible with: 2020.3.39f1, 2021.3.8f1, 2022.1.14f1, 2022.2.0b6, 2023.1.0a8
Reproducible on: Windows 10
Notes:
Error “NullReferenceException: Object reference not set to an instance of an object” is thrown in 2020.3.39f1.
With 2021.3 - 2023.1 streams editor crashes.
First lines of the stack trace:
0x00007ff6c63fc6e8 (Unity) GUIView::ProcessInputEvent
0x00007ff6c69b3fdd (Unity) GUIView::DoPaint
0x00007ff6c69bd58c (Unity) GUIView::RepaintAll
0x00007ff6c652c063 (Unity) Application::TickTimer
0x00007ff6c6990c7a (Unity) MainMessageLoop
0x00007ff6c6995a64 (Unity) WinMain
All about bugs
View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.
Latest issues
- Editor hangs when painting Details containing 2D Mesh on Terrain
- No audio is played when TimelinePlayable has one output
- Scene and Sprite Editor views break when an edge is deleted in an attempt to split geometry
- Specular lighting visible in a camera with Path Tracing when Preserve specular lighting is disabled in observed material
- Cinemachine package throws CS1061 errors in the Console when installed in a project that has HDRP and URP installed
Add comment