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
- Some UXML Template Asset foldouts appear enabled when all fields inside are disabled
- URP Terrain Demo crash on burst_signal_handler after Generating lighting
- Project window button icons are poorly visible and their shades differ in Light theme
- Automatic LOD fails and SRP Batcher incompatibility occurs when using spline-based quad-topology meshes
- Editor crashes on D3D12GetInterface when repeatedly enabling and disabling 256 text components
Resolution Note:
Fixed by https://issuetracker.unity3d.com/product/unity/issues/guid/UUM-20241