Search Issue Tracker
Won't Fix
Votes
3
Found in
5.3.1f1
Issue ID
786829
Regression
No
Name set using Undo.SetCurrentGroupName is reset after undoing Undo.DestroyObjectImmediate
Steps to reproduce:
1. Open attached project "786829.zip"
2. Open scene "repro"
3. In top menu, click "Test > Test Undo". This will call Undo.SetCurrentGroupName followed by Undo.DestrayObjectImmediate and will destroy Main Camera
4. In top menu, click "Edit" and notice "Undo Destroying (test)" option. Click it
5. Once again, click "Edit" and this time notice "Redo Destroy Object", click it
6. Click "Edit" again and notice "Undo Create Object", click it
7. Expand "Edit" again and this time "Redo Create Object" option is present
Reproduced with: 5.1.4f1, 5.2.4f1, 5.3.4p2, 5.4.0b14
-
helgewl
Oct 04, 2016 13:51
I am also experiencing this in 5.4.0f3.
The first undo renames the undo group to "Destroy Object", and the following redo renames it again to "Create Object".
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
- Undoing slider field change only resets slider position, doesn't undo the value change
- Precision changes when a tangent is added to a Vertex node
- The Blackboard scrolls to the top and generates an artifact when duplicating Attributes when the Blackboard has been scrolled down and the Custom Attributes list is expanded
- The Blackboards Attribute list scrolls down to the bottom and the Custom Attributes list is not expanded when duplicating Built-In Attributes and the Custom Attributes list is collapsed
- Right-click context menu in Visual Effects Graph window is offset
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.