Search Issue Tracker
Postponed means that the issue was either a feature request or something that requires major refactoring on our side. Since that makes the issue not actionable in the close future we choose to close it as Postponed and add it on our internal roadmaps and technical debt pages instead.
Postponed
Votes
0
Found in
5.0.2f1
Issue ID
698820
Regression
No
Multiple Undo issues when undoing or registering undo from script
How to reproduce:
1. Open attached project
2. Open scene Main.unity
3. Select the Undo Test gameobject
4. Click the Modify Children button
- The int field in the gameobject, as well as all of the child objects, is modified
5. Press the Undo Changes button
- Notice the exception thrown
- There are a few more issues present (they are all also described in the UndoTestEditor.cs script):
- None of these register the children for undoing:
- Undo.RegisterCompleteObjectUndo(Target, "Modify Children");
- Undo.RegisterFullObjectHierarchyUndo(Target, "Modify Children");
- Undo.RecordObject(Target, "Modify Children");
- This crashes the Editor upon undoing:
- Undo.RegisterCompleteObjectUndo(Target.gameObject, "Modify Children");
- This doesn't register components:
- Undo.RecordObject(Target.gameObject, "Modify Children");
All about bugs
View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.
Latest issues
- Tabs open with elongated width for it's Label section when opening Properties for an Asset or Component
- AssetReferenceAtlasedSprite members can't be set in the Inspector window when sprites are packed in atlases
- Editor Tabs are highlighted when hovered over and they are behind Lock or Multiple Tab Navigational buttons
- “Trying to render using the pass "<Unnamed Pass 0>" from the shader "Hidden/Universal Render Pipeline/FallbackLoading" which is not SRP Batcher compatible" error is thrown when any GameObject enters the Scene view for the first time
- [DX12] SRP Batcher visual glitch when using shaders
Add comment