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
- Scene/Game view visually breaks and console is spammed with errors when using DepthBlit Sample Scene
- "GetOrAddComponent" method in "Unity.VisualScripting" returns "MissingComponentException" error when the "BoxCollider" Component doesn't exist
- Render Graphs Kebab Menu Buttons are missing padding and Highlight is uneven when hovered over
- Shader Keywords are not detected when defined in include files
- Right-clicking on Blackboard and Graph Inspector calls the contextual menu of the workspace
Resolution Note:
Fixed by https://issuetracker.unity3d.com/product/unity/issues/guid/UUM-20241