Introduction to undo and restore
Understand the ways to take back changes in Unity Spark, what each one reverts, and who each one affects.
Read time 3 minutesLast updated 3 hours ago
Unity Spark gives you several ways to revert a change. Some revert only your own recent steps. Others restore the whole project to an earlier point. A project restore affects everyone working on the project.
Differences between undo, retry, rewind, and restore
The following table compares the ways you can take back changes.
Action | What it takes back | Who it affects |
|---|---|---|
| Undo and Redo in the toolbar | Your own recent steps, one at a time. A whole assistant turn in your browser counts as one step. | Only you. |
| Retry on an assistant reply | The reply and everything after it in the conversation, then sends your prompt again. | Everyone, when Unity Spark restores the project. |
| Rewind on your prompt | The prompt and everything after it in the conversation, and puts your text back in the message box. | Everyone, when Unity Spark restores the project. |
| Undo this turn's changes on an interrupted turn | The project changes from that turn. The conversation stays as it is. | Everyone. |
| Change History | The whole project, back to any point, from any person or conversation. | Everyone. |
Undo steps for assistant turns
Unity Spark groups all changes that the AI assistant makes during a single turn (one reply to one prompt) into a single undo step labeled Agent changes. For example, if the assistant makes 100 edits in one turn, a single Undo action reverts all 100 edits at once.
Unity Spark records manual edits that you make while the assistant works as separate undo steps, and doesn't revert them with the assistant's turn. Undo doesn't change the conversation. The assistant's messages stay in the Chat window.
Turn markers for Retry, Rewind, and turn undo
Before each assistant turn changes the project, Unity Spark adds a marker to Change History. Retry, Rewind, and Undo this turn's changes use that marker:
- If the turn has a marker, Unity Spark restores the whole project to how it was before the turn. Unity Spark undoes every change made after that point, including your own edits and changes from other conversations. Unity Spark asks you to confirm first. You can undo the restore from Change History.
- If the turn changed the project but has no marker, for example, after you reload the page, Unity Spark can't take back the project changes. Rewind takes back the conversation only, and Retry runs your prompt again on the project as it is now. Unity Spark tells you that it can't take back the project changes, and asks you to confirm.
- If the turn didn't change the project, only the conversation changes, and Unity Spark doesn't ask.
Project restores
Restoring puts the whole project back the way it was at the point you choose. A restore affects everyone working on the project, not just you.
A restore doesn't erase history, so you can restore forward again. Unity Spark can't rebuild rows marked Too old to restore.
A marker records the project as it is, so you can return to it later. Unity Spark adds one before each assistant turn, and you can add your own named markers.
The assistant can restore too. Ask It always asks you to approve first.
Go back to before you added the trees.Some projects don't keep history. In that case, the Change History window displays
Change history is not available for this draft yet.