Search Issue Tracker
Fixed
Fixed in 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
- [Quest] Pitch Shifter causes audio degradation on Quest 2 devices when sped up
- "GUI Error: Invalid GUILayout" and "NullReferenceException" are thrown when adding Scenes to "Scenes in Baking Set" in Adaptive Probe Volumes
- Inspector window not updating when switching GameObjects in Play Mode while having a VR headset connected
- "UnityException: GetName can only be called from the main thread." erors are thrown when the Shortcuts window is opened and entering Play Mode with a shortcut
- [Android] Light2D visuals stacking over frames when using RenderGraph
Resolution Note (fix version 2021.3.0f1):
Fixed in: 2021.2.9f1