Search Issue Tracker
Fixed in 2021.1.X
Votes
0
Found in
2020.2
2020.2.0b7
2021.1
Issue ID
1287133
Regression
No
NullReferenceException thrown when unlocking Inspector, while different GameObject is selected
How to reproduce:
1. Open the attached project "Test.zip"
2. Select "SampleScene" or "New Material" in the Project window
3. Lock Inspector window
4. Select "Main Camera" or "Directional Light" in the Hierarchy window
5. Unlock Inspector window
6. Observe the Console
Expected result: No Console errors are thrown
Actual result: NullReferenceException error is thrown
Reproducible with: 2020.2.0b5, 2020.2.0b8, 2021.1.0a1
Not reproducible with: 2018.4.28f1, 2019.4.14f1, 2020.1.12f1, 2020.2.0b10, 2021.1.0a4
Note: No errors are thrown when locking and selecting GameObjects/Assets in the same window(Project or Hierarchy)
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
- ListView element is rendered in solid black after docking if UI Builder window was already opened prior to project launch
- [WebGPU] error with compute shader and read-only RWTexture
- Capacity-size memory is copied instead of Length-size when using UnsafeUtility.memCpy()
- Console displays "SerializedObjectNotCreatableException: Object at index 0 is null" error during Unity theme change while "Tile Palette" window is opened
- Details are not shown when Error Message is still selected after changing Log Entry Count in the Console
Resolution Note (fix version 2021.1):
Fixed in 2021.1.0a4