Search Issue Tracker

Fixed in 2019.2.X

Votes

0

Found in

2019.1.0a8

2019.1.8f1

2019.2.0a1

Issue ID

1165860

Regression

No

NullReferenceException when going over InspectorElement with a cursor while GameObject is deselected

UI Toolkit

-

Reproduction steps:
1. Open the attached Project and open the "SampleScene"
2. Open "Permanent Inspector" window at Window -> General
3. Drag "Main Camera" to "Permanent Inspector" and make few changes inside of "Permanent Inspector"
4. Select "Main Camera" and make few changes inside of Unity Inspector
5. Select "BoxCollider2D" and drag it to "Permanent Inspector"
6. Click anywhere in the Scene View and then go over "Permanent Inspector" with the cursor

Expected result: Content within "Permanent Inspector" does not disappear
Actual result: Content within "Permanent Inspector" disappears and NullReferenceException is thrown into the Console window

Reproduces on: 2019.1.9f1, 2019.2.0a8
Does not reproduce on: 2019.2.0a9, 2019.2.0b9
Could not reproduce on pre-2019.1.0a8 due to namespace differences

  1. Resolution Note (fix version 2019.2):

    Fixed in 2019.2.0a9

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.