ZionGames Docs

Home / Zion Tools / Zion Dependency Graph

πŸ•ΈοΈ Zion Dependency Graph

See every reference. Trust every delete.

Safe Delete & Backup

Workflow: inspect, verify, then delete with recoverable backup.

Deleting orphans

  1. Select one or more orphan candidates.
  2. Click Delete Selected.
  3. Review confirmation details and preview list.
  4. Click Backup + Delete to back up files and delete - in that order.

Delete warnings

The confirmation dialog does two extra checks before anything happens (v1.2):

  • Loaded by code - if a script loads any selected asset by string, the dialog says so, naming the script and line
  • Still referenced - if other assets still point at a selected file, the dialog lists how many and names an example. This matters most on the Dupes tab, where byte-identical copies have different GUIDs and are not interchangeable

Backup folder structure

Backups are stored under <ProjectRoot>/ZionDependencyGraph_Backups/ in timestamped folders with manifest metadata. The original Assets/... paths are preserved as a subtree, so restore is unambiguous.

Restoring a backup

Use Restore, select a backup folder, and the tool restores each file and .meta to original paths. Because the .meta (and therefore the GUID) is preserved, references re-link automatically.

Safety guarantee - every backup copy is verified on disk before its asset becomes eligible for deletion. If backup fails for an item, that item is not deleted. If nothing can be backed up, nothing is deleted and the dialog says so explicitly. An asset cannot be deleted unless its backup provably exists.
Continue to Export.