Search Issue Tracker
By Design
Votes
0
Found in
2022.3.39f1
6000.0.12f1
Issue ID
UUM-76433
Regression
No
Undo.isProcessing returns false in ChangeEvent when performing undo operation
Reproduction steps:
1. Open the attached “BugRepro” project
2. From the menu navigate to BugRepo > Open Window
3. Change the “Int Value” field to 6
4. Clear the Console window
5. Press undo (Ctrl+ Z)
6. Observe the Console window
Expected result: No messages are printed
Actual result: “Changed value : 6 -> 0” is printed
Reproducible with: 2022.3.39f1, 6000.0.12f1
Couldn't test with: 2021.3.40f1 ('Undo' does not contain a definition for 'isProcessing')
Reproducible on: Windows 11
Not reproducible on: No other environment tested
-
hackson023
Jul 23, 2024 06:36
Thanks for letting us know. lbwaterservices.ca/alberta-campground-services
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
- Select Preset "None" icon changes after switching tabs
- [Android] Crash when using xxHash3 and targeting the ARMv7 Architecture with IL2CPP Scripting Backend
- GameObject reference in a Script Component becomes missing when unpacking a variant of another Prefab variant
- Project Settings vertical separator position is not synchronized with the mouse position when dragging it horizontally
- Crash on PhysicsDebugDraw::SelectFiltering::Update when entering play mode with Physics Debug window docked and unfocused
Resolution Note:
`Undo.IsProcessing` is functioning as intended here. The system that generates change events occurs after the undo system has finished processing and so `Undo.IsProcessing` is returning the correct result in this case. Change events are generated by watching a given field, when a change is detected; an event is actioned. Change events do not contain any information about whether the origin is from undo.