Undo, checkpoints and safety limits in Unreal
The agent's changes in Unreal work differently from its changes in Houdini: they don't go on UE's undo stack. This article explains which changes can be rolled back, how to do it, and which safety limits apply.
How undo works in UE
Important
The agent's changes in UE aren't on UE's undo stack, so Ctrl+Z won't revert them. Save important levels and assets, or back them up with version control, before you start.
These kinds of changes do have checkpoints that the agent can roll back to:
| What | When the checkpoint is saved | How to roll back |
|---|---|---|
| Material graphs | Before the first edit in each turn | Ask the agent to "roll this material back to before the change" |
| Blueprint graphs | Before the first edit in each turn | Ask the agent to "roll this Blueprint back to before the change" |
| C++ source | After each successful build | Ask the agent to "roll back to the last code that built" |
If any step in a batch of material or Blueprint edits fails, the whole batch is reverted, so you're never left with a half-edited graph.
Confirmation before actions
With Ask before each action on, UE tools that change things need you to click Allow once, just like Houdini tools. See Confirm and undo changes.
Safety limits
- Console commands that would crash or close the editor are refused.
- Viewport captures render off-screen and don't change your viewport.
- Stop (or
Esc) also interrupts Python running inside UE. - If there's an unsaved, untitled level, the agent won't reopen the editor automatically (for example after enabling a plugin), so it doesn't get stuck on a Save As dialog.
- A UE editor connected to Houdini Agent has a memory cap: an operation that would use up all memory fails inside UE instead of freezing the whole computer, and the agent switches to processing in chunks.
Was this article helpful?