Search Issue Tracker
Fixed
Votes
0
Found in
2022.1.17f1
2022.2.0b8
2023.1.0a11
Issue ID
UUM-14821
Regression
Yes
Duplicate components are hidden on nested prefabs when the components have [DisallowMultipleComponent]
Reproduction steps:
1. Open the user’s attached project
2. In the Hierarchy window select the “Outer” object and step into the prefab
3. Under the “Outer” object select the “Inner” object
4. In the Inspector window add “Script1” and “Script2” components to the “Inner” object
5. Step into the “Inner” prefab
6. Add “Script1” and “Script2” components to the “Inner” object
7. Step out from the “Inner” prefab
Expected result: There are four components added to the “Inner” object
Actual result: There are only two components on the “Inner” object and when removing one of the components the hidden component shows up
Reproducible with: 2022.1.0b3, 2022.1.17f1, 2022.2.0b8, 2023.1.0a11
Not reproducible with: 2020.3.40f1, 2021.3.10f1, 2022.1.0b2
Reproducible on: macOS 12.6, Windows 10
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
- Spots of bad lighting appear on assets when the lighting is generated in a Scene
- Static Editor Flags dropdown list is cut off when Inspector Window is docked to the very right and UI Scaling is set to a higher value
- visionOS Players are minimized when Guided Access is turned on
- Licensing Client fails to launch when opening Unity Hub
- Sprite Atlas Inspector preview disappears when entering Play mode unless SpriteAtlasMode is set to "Sprite Atlas V2 - Enabled"
Resolution Note:
Fixed by https://issuetracker.unity3d.com/product/unity/issues/guid/UUM-20241