Search Issue Tracker

Fixed in 2020.1

Fixed in 2019.4

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

UI Toolkit

-

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)

  1. Response avatar

    Resolution Note (fix version 2020.1):

    Fixed in 2020.1.0a1

  2. Response avatar

    Resolution Note (fix version 2019.4):

    Fixed in 2019.4.6f1

Add comment

Log in to post comment

All about bugs

View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.