Skip to content

Your first cleanup

This walkthrough uses the built-in Safe Basic 3D preset. It does not require AI or an imported Sample.

Allow Unity to finish importing the vendor pack. The selected Source:

  • must already exist;
  • must be an Assets/... child folder;
  • cannot be Assets itself;
  • cannot be the quarantine folder;
  • must not contain the Profile or its output destination.

Example:

Assets/
└── Imports/
└── EnvironmentPack/
  1. Open Tools → CoCo Asset Flow → Profile Editor.

  2. Choose Use Safe Basic 3D.

  3. Review the ordered rules.

  4. Save the Profile to the recommended path:

    Assets/CoCoAssetFlow/Profiles/Default.cleanup.json

The preset exists only in Editor memory until you explicitly save it.

Safe Basic 3D handles common Textures, Materials, Prefabs, and FBX assets conservatively. It does not delete content, strip Prefab components, change FBX clips, convert Shaders, or interpret unknown business assets.

  1. Open Tools → CoCo Asset Flow → Cleanup Runner.
  2. Select the vendor-pack folder as Source Folder.
  3. Select the saved Profile.
  4. Choose Validate + Preview.

Preview scans the Source and writes JSON evidence outside Assets. It does not move, rename, delete, or change any Unity asset.

Before Apply, confirm:

  • the total asset count is plausible;
  • every changed asset has the intended target path;
  • naming changes follow your repository convention;
  • Texture setting changes are appropriate;
  • no asset is unexpectedly scheduled for Delete;
  • Warning groups are understood;
  • Blocker count is zero;
  • Unsupported count is zero;
  • the displayed Plan ID belongs to the current Source and Profile.

A Warning requires review but does not automatically prevent Apply. Examples include unchanged unknown Texture settings or possible Unity reserialization.

A Blocker prevents Apply. Common causes include unmatched assets, path collisions, unsafe destinations, invalid Regex, and unresolved FBX Material bindings.

Do not remove a Blocker by making a broad catch-all rule unless that rule truly represents your project convention.

When the Preview is correct:

  1. Select Confirm Apply + Verify or Apply with N warnings + Verify.
  2. Read the confirmation dialog.
  3. Confirm the exact Plan ID.
  4. Keep Unity open until the operation finishes.

Apply revalidates Source, Profile, and Plan before writing. Delete items are moved to quarantine first. Final deletion happens only after verification.

  • Each source asset is moved or explicitly deleted.
  • The Source root folder remains but contains zero assets.
  • Asset GUIDs are preserved for moved assets.
  • Material and Texture references remain valid.
  • Declared importer, Prefab, and FBX changes match the plan.
  • The generated JSON Report records the result.
  • A second plan contains zero changes.

If Apply fails before Delete commit, the Executor attempts to restore paths, settings, generated assets, references, and quarantine state.