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
- Sprite Renderer with Animation does not reflect Sprite changes in the Scene when switching Mask Interaction
- Error "NullReferenceException: Object reference not set to an instance of an object" is present when loading 3D text mesh in Player from an asset bundle that is built with an older Editor version
- Text overlaps when displaying CJK and Latin characters on GameObject Label Icons
- User is redirected to a non-existing online documentation link when clicking on "?" help button inside Inspector window while Animator Override Controller is selected
- [URP] Bake reflection probes option also bakes lightmaps
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.