Skip to content

Storage budgets, caches and Git LFS ​

Development runs and release candidates ​

Development scenarios run inputs and assertions by default. Explicit audio and video settings still apply. Select --mode diagnosis and specify seconds for a short capture. UBT checks dependencies on every native target run. Keep DDC, Zen, Cook and active-target intermediates available to UE.

Use a flat JSON object in %LOCALAPPDATA%/UEAgentDevKit/storage.json for machine defaults and Config/UEAgentStorage.json for project overrides. Defaults are 20 GiB for reserveGiB, 50 for the advisory targetFreeGiB and 30 for packagePeakGiB. The existing budget environment variables take precedence. Automation and packaging coordinate managed writers for the same user and sample project, output and temporary volumes. Volume deltas include unrelated activity.

keepSuccessfulLogs retains verbose logs for the two latest passing runs of each project/test by default. Results, failure evidence and unregistered legacy logs remain available. Place .keep in a run or package directory to protect it. Set autoPruneOwnedScratch to false to disable retirement, reuseCompatibleLabs to false to refuse lab reuse, or change recordByDefault to request capture.

  1. Run ueagent hygiene package-build MyGame.uproject and test the executable in the returned stage. Inspect ueagent hygiene package-status MyGame.uproject for the candidate and current IDs.
  2. Record the candidate ID and the actual acceptance check in JSON, for example {"candidate":"<id>","status":"PASS","check":"Both clients entered the same session"}. Add "rebuildVerified":true only after checking rebuild inputs.
  3. Run ueagent hygiene package-accept MyGame.uproject <id> --evidence acceptance.json. Use --pin for a milestone. The default keepPlayablePackages is one. Promotion commits the current pointer before retiring registered files and logs of reproducible older stages.
  4. For a failed or interrupted build, inspect its lifecycle, logs and current ID. Run ueagent hygiene package-reject MyGame.uproject <id> to dismiss the candidate and retain the incident. Source, plugin dependencies, Git/LFS and external deliveries stay under project ownership.

UBT text logs accept -Log=. Installed UE 5.8 rotates its shared UBA trace before parsing that argument. UAT accepts child environment variables uebp_LogFolder and uebp_FinalLogFolder. Use a fresh run-owned directory because UAT can clear its log folder at startup. Win32 32/33 indicates a sharing or lock conflict. Identify active writers. For Win32 5, inspect effective delete access on the named file, parent directory policy and security events at the time of failure. Retry from a development session with normal project build access. Record a log initialization failure as a build environment failure.

powershell
ueagent hygiene preflight . --peak-gib 4
ueagent hygiene audit .
ueagent hygiene lfs-audit . --verify-content
ueagent hygiene cache-review .
ueagent hygiene volumes .

The audit commands write JSON reports. If preflight returns allowed: false, reduce the peak budget or change the output location. LFS auditing checks local state. Remote recoverability requires a separate download and verification.

For a cleanup, run volumes before and after on a directory that will remain on the target volume. On NTFS, fsutil hardlink list "path\to\candidate" shows the names of an existing file. Check before unlinking it. Its storage can remain allocated while another name exists. Leave upload queues to the sync client.

Select OBJ and PCH files by build target and configuration so the active Editor can reuse its incremental build. For a duplicate staged build, compare complete relative-path and SHA-256 manifests, including executables, symbols and cooked content. Stop on any difference and verify the retained manifest after cleanup. For disposable edit segments, first resolve the cut list against the original video, audio and timing records and retain the edit script.

plan creates a candidate plan. archive and restore write files. release can delete source files and requires --approve. Use it after checking the plan, backup and restore. Keep uncommitted assets, evidence and unique files. Evidence and recovery

Check the output volume before large experiments and reuse a disposable host. Keep the final clip, key JSON and logs, and reproduction code. After decoding the clip and checking its hash, remove raw frames that are no longer needed, inactive caches, and reproducible build output. Use remote CI to build Python packages and the docsite when possible.

Default to one current playable local package per project, including its runtime files. Record earlier build SHAs, verification outcomes, and rebuild commands in text. Use frame numbers, pose measurements, and replay inputs when they capture the finding. Keep one representative media artifact when the visible difference matters, and clear duplicate video and raw frame sequences. Retain baselines and reproduction inputs the user explicitly wants.

When the user specifies the Windows Recycle Bin, use it on the original volume. Check volume support and capacity first, then work in small batches and verify that the entries actually appear in the bin. An absent source path or successful API return alone cannot establish recoverability. Stop subsequent batches if entries cannot be verified. Permanent deletion, emptying the bin, and cross-volume moves each require authorization. Report bytes removed from working folders and the measured free-space change separately.

When a cleanup candidate may contain unique data ​

Aggressive cleanup before moving to another computer ​

Rank candidates by expected free-space gain. Start with completed cook and staging output, superseded builds and long test frame sequences. Batch-remove identified generated paths after checking ownership and active consumers. When the source and dependencies of an old build remain recoverable, retain its revision, build configuration, rebuild command and acceptance result. Keep representative frames covering key events, the inputs, logs and accepted film. Include any new archive in the net storage cost.

For migration, check the project descriptor's engine version, enabled plugins and binary dependencies. Inspect launch and build scripts for absolute paths, external worktrees, submodules and uncommitted inputs. Keep the latest accepted playable package per project. Use an independent restore test when releasing unique data or relying on a sole backup. Reuse receipts for the same version and record which checks covered inventory, compilation and execution.

Files that need individual review ​

  • Check what produced the file. A .obj in a model source directory can be an authored mesh. A plugin DLL may be the only distributable copy. Inspect autosaves, crash reports and experiment inputs before selecting anything under Saved.
  • When consolidating PDBs, match the complete file by SHA-256. Keep a mapping from the original build and symbol path to the retained file. After cleanup, use the mapping to locate the symbols and verify their digest. Different builds can produce different PDBs with the same name.
  • Budget for the archive and the extracted verification copy while the original still exists. Estimate the peak on each destination volume. For a same-volume archive, include the space consumed by the retained archive when reporting the net gain.
  • Before retiring a restore workspace, check for changes made by the verification run, including local configuration and plugin diagnostics. Preserve unique changes and the restore record, then remove or repoint temporary jobs that still reference the workspace. When relying on a Git bundle, also restore any required LFS payloads, uncommitted inputs and external plugins. For a playable milestone, launch the retained build from the restored location.