Search Issue Tracker
Fixed in 4.5.X
Votes
1
Found in
4.3.0f3
Issue ID
574380
Regression
Yes
Undo/redo text in menu is incorrect when creating an object and adding component
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
All about bugs
View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.
Latest issues
- “[Worker0] Could not generate preview image“ error when opening macOS native plugin in the Inspector with Architecture to build for set to ARM 64-bit
- [iOS] Application.absoluteURL is empty on Awake/Start when opening via deep link with Splash Screen disabled
- Crash on MemoryManager::Deallocate when rapidly calling Addressables.LoadAssetAsync
- Crash on physx::shdfnd::atomicIncrement when adjusting values on a character controller component after entering Play mode in Prefab edit mode
- [Rendering Debugger] [NewInputSystem] Debug Overlays in Play mode throws InvalidOperationException when using New Input System
Add comment