Undo assistant changes
Revert the assistant's most recent turn in the workspace, or revert the changes from an interrupted turn.
Read time 1 minuteLast updated 3 hours ago
Use Undo to revert project changes without changing the conversation history in the Chat window. For information about how Undo groups assistant changes, refer to Introduction to undo and restore.
Undo changes in the workspace
To revert your most recent change, press Ctrl+Z (macOS: Cmd+Z) or select Undo in the toolbar. To redo a change, press Ctrl+Y (macOS: Cmd+Y).
Unity Spark groups all changes that the AI assistant makes during a single turn into a single undo step labeled Agent changes, so one Undo action reverts the whole turn.
Revert changes after the assistant stops early
A turn can stop after the assistant has started changing your project, for example, because you selected Stop or the assistant encountered a problem. When a turn stops early, the Chat window displays a notice. Unity Spark keeps the changes the assistant already made.
Select one of the following options on the notice:
- Continue: Allow the assistant to resume from where it stopped.
- Undo this turn's changes: Restore the project to how it was before the interrupted turn, while the conversation stays as it is. Unity Spark asks you to confirm with Undo changes. This option appears only on the most recent notice, and only when Unity Spark can restore the project to how it was before the turn.