Search Issue Tracker

Fixed in 4.5



Found in


Issue ID




Undo/redo text in menu is incorrect when creating an object and adding component

Editor - Other


To reproduce:
1. Open attached project
2. Press Test > Undo Name Bug. It creates a gameobject, registers it's undo and executes "Undo.AddComponent".
3. Go to Edit. The undo should show "Undo Create Test Object", but it shows "Undo AddComponent"
4. Press Undo - it removes the object, not the component like the name would suggest
5. Redo shows "Redo Delete" - neither the "Create Test Object" nor "AddComponent"

The undo name change seems to be caused by the "Undo.AddComponent", but the "Redo Delete" occurs even when the "Undo.AddComponent" is commented.

Does not reproduce with 4.2.2f1

Add comment

Log in to post comment

All about bugs

View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.