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
- Crash on ResizeScriptingList<ScriptingObjectPtr> when passing an undeclared variable to the results parameter for GameObject.FindGameObjectsWithTag
- [Android] "Screen.safeArea.y" always returns values outside of the Safe Area when the device is in Portrait orientation
- Frame spike due to many TreeRenderer.TreeUpdated calls when repositioning terrains in large Scenes
- Crash on GameObject::RemoveComponentFromGameObjectInternal when reparenting Text GameObjects
- [IL2CPP-GarbageCollector] Changing GCMode might permanently disable GC in a multithreaded context
Resolution Note (fix version 2021.2):
Fixed in 2021.2.0a12