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

Scene Management

-

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/

  1. Resolution Note (fix version 2021.2):

    Fixed in 2021.2.0a12

Add comment

Log in to post comment

All about bugs

View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.