Search Issue Tracker
By Design
Votes
0
Found in
2020.2.0a17
Issue ID
1261137
Regression
No
Undo option in the menu->Edit almost always shows wrong numbers when duplicate or copy/paste GOs
How can we reproduce it
1 Create new project
2 Go to Hierarchy and create 10 Game Objects - e.g. Cubes
3 Select those 10 GOs and Duplicate them (by Context menu->Duplicate or simply pressing Ctrl+D)
4 Go to Main menu->Edit and check what is written in Undo option
Expected results: should be "Undo Paste Cube (10)"
Actual result: the number in brackets is usually wrong - for 10 Cubes it usually states "Undo Paste Cube (9)"
- repeat the same actions with more than 10 GOs and the difference will be bigger (Undo option always shows less GOs) - please see screenshot in comments
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
- Tile Palette selected dropdown text does not update when palette is renamed
- ArgumentException thrown and reference to Template gets unset when opening UXML file after editing referenced Template in Play mode
- [iOS][WebGL] Player freezes when multiple properties of a VisualElement are changed at the same time
- Warning 'GetControlID at event ValidateCommand returns a controlID different from the one in the Layout event' is logged when undoing the deletion of an Edited Freeform 2D Light
- ShadowCaster2D breaks on certain Rotation positions when Casting Source is set to PolygonCollider2D
Resolution Note (2020.2.9f1):
The menu shows the last undoable object that was duplicated, not the number of object that were duplicated. Whatever object was last in you selection, it's name will be shown in the menu. For example, if you duplicate an object 10 times and select all of them from top to bottom, the last object in your selection will probably be Cube (9) because unity tries to make the object name unique by adding a number at the end.