Search Issue Tracker
Fixed
Fixed in 2020.3.44f1, 2021.3.17f1, 2022.2.2f1, 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
- "Browse" button for Xcode in the "Build Profiles" window is too big
- USS styles fail to inherit correctly when contentContainer is overridden in a custom control
- Copying and pasting Animator Transitions leads to unexpected behaviour
- "ShaderGraph" misses a space in the "Project Settings" section
- UI Builder inspector’s checkbox fields can be activated when clicking anywhere in the value field
Add comment