Search Issue Tracker
Won't Fix
Votes
0
Found in
5.5.0f3
Issue ID
869176
Regression
No
[Undo] A GameObject appears twice in the hierarchy after undoing
Reproduction steps:
1. Open the attached project
2. Create an empty GameObject A
3. Add "UndoBugScript" to A
4. Create a GameObject B as a child of A
5. Add any component to A
6. Press CTRL+F5 to run code that makes B a root object without registering an undo operation.
7. Press CTRL+Z to undo the component addition from object A.
Expected behavior: B should remain a root object.
Actual behavior: a new B object is created as a child of object A, a second B object still remains in the hierarchy, selecting either of them highlights both
Reproducible on: 5.3.7p1, 5.4.4f1, 5.5.0p3, 5.6.0b3
Tested on windows 10;
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
- "Modifying the parent of a VisualElement while it’s already being modified is not allowed" error is thrown when entering text and pressing tab in the Search window
- Mesh colliders are not updating their positions of bounds correctly
- Images are missing from the "Open the sprite editor" documentation for 6.0, 6.1 and 6.2
- The previous element in the array is modified when assigning an Asset to a new element of AssetReferenceT
- Unity Perforce Integration: VCS Connection Active State Fails via CLI with Valid Inputs
Resolution Note:
This particular case has been investigated thoroughly and we have decided, in the interests of protecting the stability and features of Unity for users that rely upon the affected versions, to not address this fix for the time being. We understand that this will cause problems for some users, and so may address in a future version.