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
- URP Player remains in Windows Background processes when the application is closed
- [Android] The built-in URP shaders Lit, Complex Lit and the Simple Lit are not rendered when built on Android devices with an Adreno 300 series GPUs
- "Radio Button" disappears when added under the "RadioButtonGroup" and the parent Visual Element is selected
- ScrollView Scrollbar is jittering when Movement Type "Elastic" is selected and a mouse with a freewheel is used
- [WebGL]"TypeError: Cannot read properties of undefined (reading 'length')" error is thrown when starting the Player when config.autoSyncPersistentDataPath is set to true
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.