Documentation
Prefab Handoff Audit guide
Version 1.0.0. Verified on Windows with Unity 6000.6.7f1. Use this guide with the supported Unity Editor.
Using the Editor
- Once the package is available, import the supplied
.unitypackage. - Open Tools > Prefab Handoff Audit. Set Delivery folder to the Assets folder you intend to deliver.
- Select one or more saved prefab assets in the Project window. Click Use selected assets, then Scan delivery. You can also right-click prefab assets and choose Audit Selected Prefabs. On first use that shortcut selects the first prefab’s parent folder.
- Click a finding path to locate the asset. Expand a dependency to inspect paths from each root. Add intended package IDs under Approved packages, then rescan.
- Choose Export report to save JSON outside Assets, Packages and ProjectSettings. Test the finished delivery in a clean Unity project.
Reading results
- Blocker means the audit found an issue such as an out-of-folder asset, missing script or unapproved package.
- Warning indicates a finding to review, including unsupported dependency classification or a chain Unity could not expose.
- Information records requirements such as built-in resources or approved packages.
- Canceled, incomplete or invalid input leaves the audit unfinished. Correct the cause and rerun.
Review warnings even when there are no blockers. See the example JSON report.
Batch mode on Windows
Use the included sample JSON configuration. Set the Assets delivery folder and the paths of saved prefab roots inside it. Package IDs are optional.
& "C:/Path/To/Unity.exe" -batchmode -nographics -projectPath "C:/Work/MyProject" -executeMethod PrefabHandoffAudit.BatchAudit.Run -handoffConfig "C:/Reports/input.json" -handoffReport "C:/Reports/audit.json" -logFile "C:/Reports/Unity.log"Wait for the process, for example with PowerShell Start-Process -Wait -PassThru. Exit 0 means completed without blockers, 1 means completed with blockers, and 2 means invalid input or incomplete. Unity can fail before starting the scanner. Require the expected report and status in addition to the exit code, and use a fresh report destination for each build.
Coverage and limitations
The scanner handles supported serialized references and dependencies reported by Unity. It cannot reliably detect all string-based and runtime loading, Addressables resolution, opaque data, shader behavior, package license terms, or references normalized to null. Managed-reference subtrees and deeply nested properties beyond the traversal limit are excluded. Ordinary nulls are allowed.
Approved packages are recorded as requirements. The extension leaves asset repair, dependency copying and export to your existing Unity workflow. Wrap source-model prefabs such as FBX roots in a saved .prefab. Read the troubleshooting guide for common issues.
Release notes
Version 1.0.0 covers folder-scoped prefab inspection, dependency traces, package classification, searchable findings, portable JSON and batch mode. Verified on Windows in Unity 6000.6.7f1 with Built-in and URP 17.6.0.