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
- "Property (urp_ReflProbes_BoxMin) exceeds previous array size" warning spams console after switching platforms
- Have to change Input Mapping Path twice for change to take effect when Auto-Save is enabled
- No Duplicate option is available when right clicking States in the Animator Window even though it's available via Shortcut
- Copied and Pasted States appear in a set location instead of where the Users cursor is located at when using the Pasting Shortcut
- Animator Component information box text is not centered
Add comment