- Home /
unity not undoing transform changes?
Title kinda says it all, i can unddo lots of things in unity, but i can't undo transform changes to objects, wich honestly is a really pretty damn important thing to be able to undo... How would i change this?
EDIT: It actually seems like unity isn't undoing anything other than deleting objects right now...
as far as I am aware I can most certainly undo transform changes with ctrl + z? are you sure it isn't working?
Definitely works, I guess you have something else going wrong.
I've noticed sometimes that if I use Undo after changing and applying prefab settings, the entire undo "stack" can get corrupted and do some funky stuff like this. Were you editing your prefabs by chance when it happened?
welp, seems that this was the problem indeed! Also seems to happen, after i've done an animation-
Answer by sbsmith · Aug 03, 2017 at 05:00 PM
I came across this question because I too was unable to undo a change to a Transform. It turned out the change I wanted to make, to the parent, required its own special undo operation
https://docs.unity3d.com/ScriptReference/Undo.html
https://docs.unity3d.com/ScriptReference/Undo.SetTransformParent.html
Your answer
Follow this Question
Related Questions
How to record hideFlags for Undo/Redo 0 Answers
Editor undo generic collection C# 0 Answers
Undo.RecordObject doesn't work 2 Answers
Fold/unfold gameobject from code 4 Answers