Validation and regeneration
How the authoring manifest owns generated assets and records every choice, how Validate Destructible detects drift and reports the pieces, and how protected regeneration backs up, replaces in place and rolls back.
Your artist reimports the barrel with a new lid. The destructible made from it is now out of date, and three levels already hold copies of it. Validate Destructible tells you what changed; Regenerate Destructible… rebuilds the setup from the new mesh in place, so every placed copy picks it up, while protecting any manual work. Regeneration rewrites assets that other assets reference, so SDF treats it as a protected operation with an explicit ownership model.
Both entries are in the Souls Destruction submenu of the source Static Mesh, of the generated Blueprint and of a placed actor of the setup.
The authoring manifest
USDFDestructionAuthoringManifest (DA_SDF_Authoring_<Name>) is an editor-only data asset published
with every generated setup. Its schema is version 4. It records:
- the source Static Mesh and its source signature, the interior material and the authoring preset;
- the shared Behavior and Material the setup references (empty for an SDF 1.0 setup);
- the preset family and fracture density, the target fragment count and the barrel stave count;
- the generated Geometry Collection, destruction profile and destructible Actor, and the frame and
Panel_XXmeshes of a composite glass split (AdditionalOwnedOutputs); - every input needed to reproduce the fracture: random seed, fragment counts, minimum fragment size, grout, island splitting, the noise parameters, collision sample spacing, the fracture pattern, the preserved material slots, and whether the interior material or the advanced fracture values were overridden;
- the wood choices:
WoodLengthCuts(-1= the preset’s own rule) and the piece collision,PieceCollisionShape; - the runtime choices of the authoring window: Max Health, Push When Hit (
bPushWhenHit), Anchored Base Height and Release Base On Hit, the projectile policy, the debris settings; - the physics policy: whether it was recorded, the
PhysicsMode, the Generate Simulation Collision if Needed choice, and the setup-owned simulation mesh copy when one exists; - ownership fingerprints and the directory of the most recent regeneration backup.
A field added in 2.0 reads its SDF 1.0 value in an older manifest: no Push When Hit, no anchored base, and Preset Recipe collision - exactly what the setup was published with.
Fingerprints
FSDFAssetFingerprint records three things per asset: the object path, the package-file MD5 hash and the
package-file size. Fingerprints are captured after the packages are durably saved, so they are evidence
of what was on disk when SDF last owned the setup. They are stored for the source mesh, the preset, the
interior material, the Geometry Collection, the destruction profile, the optional Blueprint, the optional
simulation mesh copy, and the frame and pane meshes of a composite glass window.
Scope limitation
Fingerprints are package-level. They prove that a saved package changed; they do not provide a property-by-property semantic diff.
Validate Destructible
Validate Destructible loads the manifest, recaptures the fingerprints and reports every difference as
an FSDFSetupDriftEntry: a kind, a severity, the affected asset, an explanation and a suggested action.
It changes nothing.
| Drift kind | Meaning |
|---|---|
LegacyManifest | The manifest predates the current ownership schema |
SourceChanged | The source Static Mesh package changed since generation |
PresetChanged | The authoring preset changed |
InteriorMaterialChanged | The interior material changed |
GeometryCollectionChanged | The generated Geometry Collection was modified |
RuntimeProfileChanged | The generated destruction profile was modified |
DestructibleActorChanged | The generated Blueprint was modified |
OutputMissing | A managed output no longer exists |
ReferenceMismatch | A managed reference no longer points where the manifest expects |
UnsavedChanges | An involved asset has unsaved editor changes |
The resulting FSDFDestructionSetupValidationReport states separately whether the setup is valid,
whether drift exists, whether manual output changes were detected, whether regeneration is allowed and
whether a second consent is required.
The PIECES paragraph
The report ends with a PIECES paragraph, in plain words:
- The recipe aimed for: what the density or Custom Fragment Count asked for. For wood and barrels it is only a guide: the mesh’s own parts decide.
- It made: every piece of geometry in the Geometry Collection, then how many fly apart when it breaks. Bigger parts that were cut again never show as pieces of their own.
- Limits: the aim goes up to the preset’s Maximum Allowed Fragment Count, never above the 150 cuts the cutter places; the project’s Maximum Fragment Count caps the total.
The supplied table aims for 16 pieces and makes 168: 136 fly apart, 32 are bigger parts cut again.
Validate Destructible and asset validation
Validate Destructible checks a setup against its manifest. Unreal’s Data Validation (Validate
Assets, or SDF.Validate) checks the values of SDF profiles, Behaviors, Materials, presets and
placed components. Both only read. See Diagnostics.
What each drift means
- Source changed. The usual case: the mesh was reimported. Regeneration rebuilds the fracture from the new geometry.
- Preset or interior material changed. The look of the fracture changes, but no gameplay data does. Regenerate to bring the setup back in line with the preset.
- Generated output changed. Someone edited the Geometry Collection, the profile or the Blueprint by hand. That is a manual output change, and it requires a second, separate confirmation before those edits are replaced.
- Unsaved changes. Unsaved editor changes to the source, preset, profile or Blueprint block regeneration entirely. In-memory work is never overwritten. Save or discard first.
A Geometry Collection package can become dirty simply by rebuilding derived simulation data on load. That derived-data dirty flag alone is not treated as a manual edit; saved package changes are still detected by fingerprint.
Explicit confirmation
FSDFRegenerationRequest carries two booleans, and the service refuses to act without them:
| Field | Requirement |
|---|---|
bExplicitlyConfirmed | Must be true. Opening the window or running validation is never treated as consent |
bExplicitlyReplaceManualOutputChanges | Must also be true when validation detected saved manual edits to a managed output |
What regeneration keeps
Regeneration reproduces the recorded choices; it does not re-read preset defaults that may have changed since:
- the setup’s Behavior and Material references, and the exceptions recorded from the window - Max Health, Push When Hit, the anchored base;
- the cuts along length and the collision shape;
- the authored projectile eligibility and reactions, and the audio choices of the profile, including intentional silence;
- the debris mode, delay and spread, even if the preset defaults changed;
- the profile’s Intact Mass;
- the physics mode (see below).
The rest of the profile is rebuilt from the recorded choices. An exception you ticked by hand in the generated setup’s Overrides is an edit of the generated profile: Validate reports the profile as changed, and it is replaced only after your second confirmation. Exceptions on placed copies (Instance Overrides) live in your levels and are not touched.
Template changes do not propagate to setups already generated: regenerate deliberately after reviewing the drift and backup prompts. To change the choices themselves - preset, density, cuts, collision shape, Behavior, Material, health, push, anchored base - use Modify Destructible: it records the new choices in the manifest and rebuilds through this same protected path.
Physics policy and simulation copies
A Simulated setup whose source mesh cannot simulate as it stands owns a mesh copy, SM_SDF_<Name>_Sim,
with generated simple collision. Regeneration treats that copy like any other managed output:
- the copy is rebuilt in place when the source mesh changed - same asset, same references - and left untouched when it did not; copies never accumulate;
- the source mesh is never modified, whether it lives in your project, in the engine or in another plugin;
- the recorded physics mode is restored, so an explicit Static choice survives regeneration;
- a manifest written before the physics policy existed keeps the physics of its published profile, including a value you set by hand. Regeneration never converts it to Simulated;
- when a Simulated setup’s source can no longer simulate (its simple collision was removed, or it now
uses Use Complex As Simple) and the setup owns no copy to rebuild, regeneration refuses with
SDF-REGEN-013and modifies nothing.
The same collision refusals as generation apply: SDF-AUTH-PHYS-001 when the copy option is off,
SDF-AUTH-PHYS-002 when the collision could not be generated. Older setups are converted to Simulated
only by an explicit console command, run with VerifyOnly first:
SDF.MigrateToSimulatedPhysics [VerifyOnly] [Root=/Game/Path] [Exit]
It targets every SDF manifest under Root (by default the plugin’s Demo folder), keeps existing drift
and custom settings, leaves composite glass as it is, and modifies no Blueprint or level. See
Intact physics and fall damage.
Regeneration sequence
Validate -> review drift
↓
Explicit confirmation (+ second consent if manual edits exist)
↓
Stage new outputs transiently
↓
Validate staged outputs
↓
Back up existing packages
↓
Replace in place (object paths preserved)
↓
Save
↓
Re-stamp ownership -> revalidate
If replacement, save, ownership stamping or final validation fails, SDF restores both the in-memory managed state and the durable package files.
Backups and rollback
Before replacing managed outputs, exact package backups are written to:
Saved/SoulsDestructionFramework/RegenerationBackups/<timestamp_GUID>/
The backup covers the Geometry Collection, the runtime profile, the optional Blueprint and the manifest.
It is the recovery of the operation in progress: a successful regeneration, or a complete rollback,
deletes that run’s backup folder, so Saved does not grow on normal operations. A rollback that could
not complete keeps it and reports its path; the manifest’s LastRegenerationBackupDirectory names it.
FScopedTransaction and Modify() integrate with editor undo for the current session.
Other SDF backups live beside it: generation material backups under
Saved/SoulsDestructionFramework/MaterialBackups/, and the SDF 1.0 conversion backups under
Saved/SoulsDestructionFramework/ConversionBackups/.
Backups are local
Regeneration backups live under Saved on your machine. They complement source control; they do not
replace it.
Preserved object paths
Regeneration replaces asset contents while keeping their object paths. Levels, Blueprints and data assets that reference the generated Geometry Collection, profile or Actor keep working. Blueprint graphs and user metadata are preserved: the Blueprint asset is kept and only the SDF-managed links - the intact source mesh and the runtime profile - are maintained.
Missing outputs
A missing managed destination is diagnosed conservatively and blocks in-place regeneration. Restore or redirect the asset first, so replacement can preserve external references. Generating a fresh setup instead would produce new paths and silently break the references you still have.
Legacy manifests and SDF 1.0 setups
Setups generated before the current schema version are reported as LegacyManifest and are not migrated
silently. UpgradeLegacyManifestOwnership explicitly trusts the current outputs as the ownership
baseline, and runs only with a manifest, a preset and explicit confirmation. Ambiguous ownership is
refused rather than guessed (SDF-REGEN-ADOPT-001 to SDF-REGEN-ADOPT-003). A setup published by an
older plugin version must be adopted once with Regenerate Destructible… before it can be modified.
SDF 1.0 setups in your project content are converted to shared Behaviors and Materials when the Editor starts, with backups and a journal. See Upgrading from SDF 1.0.
Last updated: 2026-10-27