diff_object
Compare a live Unreal Engine object against a stored snapshot to list changed, added, and removed properties, with optional rolling updates.
Instructions
Re-walk an object and report what changed since the snapshot stored under label. Read-only.
ref defaults to the reference the snapshot was taken with; pass one to compare a different object against the stored walk.
Returns {label, path, changed, added, removed, same}, where same is the number of
top-level properties with no changed, added or removed rows, and each changed row is
{path, before, after} with a dotted path into the property ("Mesh.RelativeLocation.X",
"Inventory[3].Count"). Object-valued properties compare by their path, not their address,
so an unchanged object diffs empty. If the reference now resolves to a different object the
old path comes back as stored_path and the diff still runs.
Each of the three lists holds at most 500 rows; truncated counts the rows dropped per
list when exceeded.
update=True replaces the snapshot with this walk after diffing, for a rolling diff. An unknown label raises and names the ones that exist.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| ref | No | ||
| label | Yes | ||
| update | No |