Search Issue Tracker
Fixed
Fixed in 6000.6.0a2
Votes
0
Found in
2022.3.62f1
6000.0.51f1
6000.1.7f1
6000.2.0b5
6000.3.9f1
6000.4.0a1
6000.5.0a1
6000.6.0a1
Issue ID
UUM-109404
Regression
No
Reverting and Applying [SerializeReference] List property creates persistent element overrides in Prefab Variants
Reproduction steps:
1. Open the attached “IN-103686.zip” project
2. Select the “New Prefab Variant” from the Project Window
3. In the Inspector, find the “My Script” Component
4. Click the three dots on the Component and select “Add Element”
5. Revert the change by right-clicking on the “List Of Elements” > Revert
6. Double-click on the “New Prefab Variant” to open it in context
7. Click on the “Overrides” dropdown in the Inspector
8. Observe the overrides
Expected result: It should be detected that SerializedReference is unused, and the overrides should appear in the "Unused Overrides" section of the Overrides panel
Actual result: “New Prefab Variant” has a “My Script (Script)” override
Reproducible with: 2022.3.62f1, 6000.0.51f1, 6000.1.7f1, 6000.2.0b5
Couldn’t test with: 2022.1.0a1 (Revert button does not exist there)
Reproduced on: Windows 11 Pro (24H2)
Not reproduced on: No other environment tested
Notes:
- Does not reproduce if the “Element 0” is reverted first and then clicking the Revert on “List Of Elements”
- Repeating the process adds new overrides every time in the prefab file
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
- Uninitialized variable warning appears in the Inspector of a custom shader when the variable is initialized
- "Failed creating toolbar element from ID..." error is thrown when resetting the Scene view Overlay layout while an Asset Transformer Toolbox overlay is active
- Entity ID for Font Assets is serialized twice which throws an error when using Debug Inspector
- Play Mode can be entered when disabling Adaptive Performance and pressing either the Play Mode button or the keyboard shortcut to enter Play Mode before recompilation leading to errors and warnings thrown
- Parent ListView element also becomes selected when inner ListView element is selected
Resolution Note:
Fixed in 6000.6.0a2
Resolution Note (fix version 6000.6.0a2):
Fixed in 6000.6.0a2