Search Issue Tracker
Fixed in 2020.1.X
Fixed in 2019.4.X
Votes
0
Found in
2019.3.9f1
2019.3.12f1
Issue ID
1251200
Regression
Yes
Closing a Modal window using the Close method results in a NullReferenceException
How to reproduce:
1. Create a new Unity project
2. Import the user-attached script(EditorWindowTest1.cs)
3. In the Menu bar, select Test > New modal window
4. Close the window by clicking the 'Close' button
Expected result: no errors are thrown
Actual result: NullReferenceException is thrown
Reproducible with: 2019.3.10f1, 2019.4.0f1
Not reproducible with: 2019.3.9f1, 2020.1.0a1, 2020.1.0b12, 2020.2.0a14
Could not test with: 2018.4.23f1(UI Elements not yet implemented)
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
- DownloadHandlerScript.CompleteContent is called twice when building for WebGL
- Scene view has Y coordinates of the Screen Position node flipped when some of the URP features are disabled
- Volumetric fog shader variants are missing from build when "Strict Shader Variant Matching" is disabled
- Unnecessary modifications clutter the Scene when using a RectTransform driven by a LayoutGroup in a Prefab
- Files in the target folder are deleted without a proper warning when building an iOS project
Resolution Note (fix version 2020.1):
Fixed in 2020.1.0a1
Resolution Note (fix version 2019.4):
Fixed in 2019.4.6f1