Search Issue Tracker
Fixed in 2022.1.X
Votes
0
Found in
2018.4
2019.4
2019.4.19f1
2020.2
2021.1
2021.2
Issue ID
1308539
Regression
No
NullReferenceException when selecting a Dropdown Component override in the Prefab Overrides menu for the second time
How to reproduce:
1. Create a new Unity project
2. Create a new UI Dropdown GameObject
3. Create a Prefab from this dropdown by dragging it into the Project window
4. Select the dropdown instance in the Hierarchy window and change some property
5. Open the Prefab overrides dropdown and select the Dropdown component
6. After it has been selected, select the parent Prefab object and re-select the Dropdown Component
Expected result: no errors are thrown
Actual result: multiple exceptions are thrown
Reproducible with: 2018.4.31f1, 2019.4.19f1, 2020.2.2f1, 2021.1.0b3, 2021.2.0a2
Errors:
NullReferenceException: SerializedObject of SerializedProperty has been Disposed.
GUI Error: You are pushing more GUIClips than you are popping. Make sure they are balanced.
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
- Editor freezes with a StackOverflowException when certain asset types are assigned to a managed component in a SubScene via AddComponentObject
- Scale Snapping with Gizmos does not work in the Scene view when Snapping and Absolute Grid Snapping are toggled off
- Text Script Importer Reference button links to a Missing Page when clicking the Reference Button in the Inspector
- FrameTimingManager.GetLatestTimings adds background time to the next focused frame when the Player is unfocused
- PropertyDrawer gets disposed while still being active when adding a secondary component
Resolution Note (fix version 2022.1):
Fixed in 2022.1.0a3