You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
[#131] Support ContentLayout v3 (Unity 6.7) with v2 backward compatibility
The Unity 6.7 ContentLayout.json schema (v3) renames ID to StableId (no
.cfid extension), replaces ContentHash with ArtifactIndex, references
loadables by index instead of ObjectIdHash, and drops the loadable
AssetPath/OutputLFID fields (no more remapping into clusters).
UnityDataTools.Models.ContentLayout now tracks v3; the v2 schema is
preserved as a reference definition in UnityDataTools.Models.V2. Analyze
accepts both versions: v2 files are upgraded in memory to the v3 model
(ContentLayoutV2Upgrader), so a single write path and a single database
schema serve both. The content_layout tables move to the v3 shape
(loadable_index key, stable_id, artifact_index, is_root_asset holding
the 1-based root position); the v2-only source data (asset_path,
source_lfid) lands in extra columns that exist only in databases
imported from a v2 layout. PRAGMA user_version bumped to 8.
The previous v2 layout of the LeadingEdge build is archived at
TestCommon/Data/ContentLayoutVersions/v2 as a permanent fixture, the
LeadingEdge ContentDirectory reference data is regenerated with a 6.7
editor (v3 layout), and UnityFileSystemApi.dll is updated to a local
6.7 build (debug config, Windows only - the mac/linux libraries still
need a 6.7 build).
0 commit comments