Search Issue Tracker
Fixed
Fixed in 2021.3.X, 2021.3.0f1
Votes
0
Found in
2021.3.3f1
Issue ID
UUM-1814
Regression
Yes
[Backport] NullReferenceException when deselecting a Prefab GameObject in the Hierarchy
How to reproduce:
1. Open the user attached "Station Defender.zip" project
2. Go into the "_Scenes" folder and open the "Bug" Scene
3. Select the "Player" GameObject
4. Deselect the "Player" GameObject
5. Open the Console
Expected result: No errors
Actual result: A NullReferenceException is thrown
Reproducible with: 2021.2.0a21, 2021.2.5f1
Not reproducible: 2019.4.33f1, 2020.3.24f1, 2021.2.0a20, 2022.1.0a1
Note:
- Is not reproducible in a new project
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
- “IndexOutOfRangeException: Index was outside the bounds of the array.” error is thrown when large Text (TMP) GameObject Overflow field is set to Ellipsis
- The OnValidate method is not invoked when reverting changes on a Prefab Variant
- The “+” button to create Labels is not deactivated when no labels can be created due to no Categories existing and does nothing when pressed
- The UIElements "GeometryChangedEvent" is not invoked when modifying "VisualElement.style.translate"
- Prefab Variant does not get updated when changes are made on "OnValidate" method
Resolution Note (fix version 2021.3):
Fixed in: 2021.2.9f1