Trash & Restore

beginner concepts

Editor Doctor Pro · Core Concepts

Trash & Restore

The Trash window is the destination for every soft-delete EDP performs. Every asset moved by Safe Delete goes there, never to a hard-delete. You can restore at any time, browse old entries by date, and (manually) purge entries you are sure you no longer need.

Open it from Window > Kronnect > Editor Doctor Pro > Trash.

Where the Trash lives

The Trash is a folder named .EditorDoctor/Trash/ at the root of your project (sibling to Assets/ and Library/). It is gitignored by default; the Trash is per-machine, not shared via version control.

The folder layout is:

.EditorDoctor/Trash/
  manifest.json           # one top-level manifest indexing every entry
  entries/
    <entry-id>/        # one folder per Safe Delete batch
      <asset-bytes>   # original asset content, unchanged
      <asset>.meta    # original meta sidecar, unchanged

Each entry can hold one or many files (a Safe Delete batch creates a single entry containing every soft-deleted asset in that batch). The manifest tracks the original asset paths so the restore can put each file back where it came from.

Window layout

  • Toolbar - Refresh, Open Folder (reveals .EditorDoctor/Trash/ in Finder / Explorer), text search.
  • Entries table - one row per stashed asset. Columns: Type, Name, Original path, Stashed at, Size.
  • Action buttons - Restore for the current selection, Purge to permanently remove the selected entries.

Restoring an asset

Select one or more rows and click Restore. EDP moves the asset (and its meta) back to its original path with the original GUID intact and refreshes the AssetDatabase. If the original path is now occupied (something else lives there), the restore stops on that row and reports a Conflict; the entry stays in the Trash so you can decide what to do.

Restores from the Trash also update the parent Action History entry: a partial restore flips the entry's status to Partially Undone so you can see at a glance which items in the original batch are still in the trash and which are back.

Manual purge

The Trash never deletes itself. There is no auto-purge by age or by size - every entry stays until you explicitly purge it. The Settings window shows the current Trash size as a reference; if it grows too large, select entries you are confident about and click Purge to permanently remove them.

Purge is permanent. Once an entry is purged, the only recovery is your version control system or your OS-level backups. EDP cannot undo a purge.

Folder format

The trash root holds a single manifest.json indexing every entry, plus an entries/<entry-id>/ directory per Safe Delete batch. Each entry directory holds the original asset bytes and the .meta sidecar for every file in that batch, unchanged. The top-level manifest carries each item's original path and timestamp.

Because the asset bytes and meta sidecars are preserved as-is, an OS-level copy of an entry's contents back into Assets/ works as a worst-case manual restore even if the EDP UI is unavailable.

Was this page helpful?