Search Issue Tracker
Fixed in 2020.2.X
Votes
0
Found in
2018.4
2019.3
2020.1
2020.2
2020.2.0a8
Issue ID
1240146
Regression
Yes
Adding multiple single type Components to the Prefab prevents reverting a removed component of the same type
How to reproduce:
1. Create a new Unity project
2. Create a GameObject and add an Animator component
3. Create a Prefab out of that GameObject
4. Remove the Animator Component from the Prefab instance
5. Add another Animator Component to the Prefab instance
6. Attempt to revert the removed Animator Component
7. Remove the later added Animator Component from the Prefab instance
8. Attempt to revert the original Animator Component again
Expected result: the removed Animator Component is reverted successfully
Actual result: nothing happens. There are no Overrides (Can be checked by pressing "Overrides" button), but the Removed Animator is still visible (and can be applied from context menu) in Inspector.
Reproducible with: 2018.4.22f1, 2019.3.11f1, 2020.1.0b6, 2020.2.0a8
Not reproducible with: 2017.4.40f1(uses the old Prefab system)
Notes:
Issue occurs with all Components that can only be added once
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
- Crash on RaiseException when opening a specific project
- DownloadHandlerScript.CompleteContent is called twice when building for WebGL
- Scene view has Y coordinates of the Screen Position node flipped when some of the URP features are disabled
- Volumetric fog shader variants are missing from build when "Strict Shader Variant Matching" is disabled
- Unnecessary modifications clutter the Scene when using a RectTransform driven by a LayoutGroup in a Prefab
Resolution Note (fix version 2020.2):
Fixed in 2020.2.0a15