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
- Camera.allCameras returns cameras from all loaded Scenes when using multi-Scene setup
- Camera.layerCullDistances has no effect when GPU Resident Drawer is enabled
- ARM64 and ARMv7 APKs return the same version code when "Split APKs by target architecture" is enabled
- Crash on ProfilerMutexLock when closing a project with specific Assets
- “Callback unregistration failed. Callback not registered.” is thrown when changing layouts with two "Font Asset Creator" windows docked
Add comment