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
[#68] Generalize AssetBundle to Archive in analyze schema and code (#89)
* [#68] ANALYZE SCHEMA CHANGE - Generalize AssetBundle to Archive
Unity Archives back AssetBundles, Player builds, Content Archives and
ContentDirectory builds, so names that said "AssetBundle" where the concept
is really "any Unity Archive" were misleading (notably for ContentDirectory
builds). Rename those to "Archive", leaving genuinely AssetBundle-object-
specific names (assetbundle_assets, AssetBundleHandler, etc.) untouched.
Schema (user_version 2 -> 3):
- Table asset_bundles -> archives; serialized_files.asset_bundle -> archive.
- The asset_bundle view alias -> archive across object_view and the views
that build on it (material/shader/texture/dep aliases, monoscript views,
in_bundles -> in_archives).
- build_report_archive_contents.assetbundle/assetbundle_content ->
archive/archive_content.
Code:
- AddAssetBundle -> AddArchive; Begin/EndAssetBundle -> Begin/EndArchive;
Context.AssetBundleId -> ArchiveId; ExtractAssetBundle/ListAssetBundle ->
ExtractArchive/ListArchive; FileListAssetBundleHelper -> FileListArchiveHelper.
- ReferenceFinder query column and output labels ("Archive:").
- Stripped the stale auto-generated SQL snapshot comments from
Resources.Designer.cs (they drift; the .sql files are the source of truth).
Tests, compare scripts and documentation updated to match; test key
asset_bundles_count -> archives_count.
0 commit comments