Search Issue Tracker
Active
Under Consideration for 6000.3.X, 6000.4.X
Votes
0
Found in
2022.3.62f1
6000.0.51f1
6000.1.7f1
6000.2.0b5
6000.4.0a1
Issue ID
UUM-109404
Regression
No
Reverting [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
All about bugs
View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.
Latest issues
- Editor crash on "PPtr<Shader>::operator Shader*() const" when checking in changes with a very long comment in Unity Version Control window
- [Ubuntu] Toolbar and menu items for Version Control lack spaces in text on Linux
- Unity Version Control window Pending Changes tab’s Item checkbox is unresponsive when clicked and the item list is empty
- Audio stuttering occurs when heavy processing is performed while OnAudioFilterRead is in use
- Inconsistent Node search results in VFX Graph
Add comment