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
- Spot light with high Outer Spot Angle produces artefacts/clipping when using the Forward+ Rendering Path
- NullReferenceException is thrown when selecting a Diffusion Profile
- Colliders of GameObject with Rigidbody component fail to collide with another GameObject when Rigidbody becomes Kinematic
- Shader cache uploads occur when the "Upload" parameter is disabled in the Cache Server settings
- "ApplySingleProperty clear overrides error" error when applying SerializedReference override to Prefab's nested Prefab
Resolution Note (fix version 2021.2):
Fixed in 2021.2.0a12