Search Issue Tracker
Fixed in 2022.2.X
Fixed in 2022.1.X
Votes
0
Found in
2019.4
2020.3
2021.1
2021.2
2022.1
2022.1.0a12
Issue ID
1370600
Regression
No
DisallowMultipleComponent is ignored in Prefab variants
Reproduction steps:
1. Open the user's attached project
2. Open Assets > BugScene
3. In the project browser double click Variant Prefab to open it
4. Add "OnlyOne" script to root GameObject in the Variant
5. Save and exit Prefab Mode
6. In the project browser double click Base Prefab to open it
7. Add "OnlyOne" script to root GameObject in the Base
8. Save and exit Prefab Mode
9. Observe Variant Prefab instance in the Hierarchy window
Expected results: Variant only has one component of type "OnlyOne", the component from the Base Prefab should be suppressed
Actual results: Variant has components of the same type even though it is not allowed
Reproduced in: 2019.4.31f1, 2020.3.20f1, 2021.1.24f1, 2021.2.0b15, 2022.1.0a12
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
- GfxDevice::UpdateBufferRanges when running UIBuilder tests
- [Android][BiRP] Depth processing is handled incorrectly on certain Android devices when using 2 camera's
- [APV] Cancelling Display Dialog Error is thrown after Adaptive Probe Volumes tab is open in Lighting Window
- [APV] NullReferenceException is thrown when baking Adaptive Probe Volume for a Terrain with Non-GI Contributing Tree Prototypes and multiple APV objects with different LayerMasks are present on the scene
- Hands are not recognized when using Hololens 2
Resolution Note (fix version 2022.2):
Fixed in: 2022.2.0a1
Resolution Note (fix version 2022.1):
Fixed in: 2022.1.0b3