Search Issue Tracker
Fixed in 2021.2.X
Votes
0
Found in
2020.2.0a3
Issue ID
1226923
Regression
No
[Improved prefab] Multiple component dependencies are added to a GameObject when undo is pressed after removing the dependency
Multiple component dependencies are added to a GameObject when undo is pressed after removing the dependency. Refer the attached video
Steps to reproduce:
1) Create a new project
2) Create Cube gameObject. Drag to project browser to make a prefab
3) In Hierarchy, Select Cube > Add Rigidbody
4) In Project browser, Select Cube > Add fixed joint
5) In Hierarchy, Select Cube > Revert added Rigidbody and apply removed Rigidbody component
6) Press Ctrl + Z or Edit > Undo
Actual result: Multiple rigidbody components are added to Cube gameObject
Expected result: Only one rigidbody component can be added to a GameObject
Occurring on: 2020.2.0a3
Environment: Both Windows and Mac
Note:
1) In 2/10 occurrences, Editor crashes when undo is pressed
2) Cannot verify the bug in previous Unity versions as Editor used to crash with above steps. Logged here https://fogbugz.unity3d.com/f/cases/876288/
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
- UI Toolkit 'background-size' property is not fully animatable
- Moving the Scrollbar via clicking no longer works after the first-click when page size is too small
- Elements in UI Builder Viewport are displayed incorrectly when Editor UI Scaling is set to 125%
- Prefab referencing a script is not shown in the Search window's Project tab when using "Find References In Project"
- Scroll view sensitivity remains unchanged when modifying the "--unity-metrics-single_line-height" value
Resolution Note (fix version 2021.2):
Fixed in 2021.2.0a12