Title: Generalize use of AssetBundle to Archive in analyze schema and elsewhere · Issue #68 · Unity-Technologies/UnityDataTools · GitHub
Open Graph Title: Generalize use of AssetBundle to Archive in analyze schema and elsewhere · Issue #68 · Unity-Technologies/UnityDataTools
X Title: Generalize use of AssetBundle to Archive in analyze schema and elsewhere · Issue #68 · Unity-Technologies/UnityDataTools
Description: Some places in UnityDataTool, including the analyze schema use "AssetBundle" when the functionality is actually general to any use of the Unity Archive file format. Primarily the name of this table is misleading when we are analyzing con...
Open Graph Description: Some places in UnityDataTool, including the analyze schema use "AssetBundle" when the functionality is actually general to any use of the Unity Archive file format. Primarily the name of this table...
X Description: Some places in UnityDataTool, including the analyze schema use "AssetBundle" when the functionality is actually general to any use of the Unity Archive file format. Primarily the name of ...
Opengraph URL: https://github.com/Unity-Technologies/UnityDataTools/issues/68
X: @github
Domain: github.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"Generalize use of AssetBundle to Archive in analyze schema and elsewhere","articleBody":"Some places in UnityDataTool, including the analyze schema use \"AssetBundle\" when the functionality is actually general to any use of the Unity Archive file format. \n\nPrimarily the name of this table is misleading when we are analyzing content directory builds:\n```\nCREATE TABLE IF NOT EXISTS asset_bundles\n(\n id INTEGER,\n name TEXT,\n file_size INTEGER,\n PRIMARY KEY (id)\n);\n````\nUnity uses archive files also for player builds and \"content archives\". Having very clear terminology will help everyone understand the file formats, especially as we introduce new build functionality that doesn't involve AsssetBundles.\n\nChanging the core Analyze schema could have an impact on some existing tools (they may have to do some search and replace to fix table names in queries). I think its still in the best interest of everyone to keep the schema improving.\n\nThis will be included along with a clear bump in the version (e.g. 1.3.X -\u003e 2.0) so that this doesn't suddenly appear in a point bug fix release. And the PR (and eventual v2.0 release notes) should document the exact schema change to aid people in migration (e.g. doing a search and replace in existing queries)\n\nAnd the mapping of any renamed database content should be clearly listed in the release notes.\n\nFurther places to update:\n* Code related to the asset_bundles table\n * class UnityDataTools.Analyzer.SQLite.Commands.SerializedFile.AddAssetBundle becomes AddArchive\n * SerializedFileSQLiteWriter.BeginAssetBundle / EndAssetBundle\n* Method names in ArchiveTool.cs e.g. ExtractAssetBundle() -\u003e ExtractArchive()\n* Archive tracking when we analyze a buildreport file.\n * build_report_archive_contents fields renamed (assetbundle -\u003e archive, assetbundle_content -\u003e archive_content)\n * FileListAssetBundleHelper should be renamed FileListArchiveHelper, and fix internal use of AssetBundle to generalized to Archive. (I've already made small fix to properly analyze archive content from content directory builds and confirmed this works, so its just a question of the naming in the code that currently is written as if it only works for AssetBundles. It remains true that player builds do not track the content of their data.unity3d file, although we may fix that some day)\n\nPlaces that won't be updated:\n* AssetBundleHandler.cs - this is specific to the AssetBundle object, not the archive file wrapper on an AssetBundle\n* AssetBundle.sql including assetbundle_assets and assetbundle_asset_view are already named properly because they are specific to assetbundles.\n\n","author":{"url":"https://github.com/SkowronskiAndrew","@type":"Person","name":"SkowronskiAndrew"},"datePublished":"2026-04-29T14:21:56.000Z","interactionStatistic":{"@type":"InteractionCounter","interactionType":"https://schema.org/CommentAction","userInteractionCount":0},"url":"https://github.com/68/UnityDataTools/issues/68"}
| route-pattern | /_view_fragments/issues/show/:user_id/:repository/:id/issue_layout(.:format) |
| route-controller | voltron_issues_fragments |
| route-action | issue_layout |
| fetch-nonce | v2:b9bbd0a3-376b-ec87-4c73-8a7507247df8 |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | 9D48:61F76:92D4E1:D2B39D:6A5F2E60 |
| html-safe-nonce | 5a8893638e9dc6ce3cf7cf26d09e9ae4ddb9e1556b92cfe2ff6ee68652e6a3f8 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiI5RDQ4OjYxRjc2OjkyRDRFMTpEMkIzOUQ6NkE1RjJFNjAiLCJ2aXNpdG9yX2lkIjoiODE3MTU2MzIwMzg3MDc5NzQwOCIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9 |
| visitor-hmac | bc3814ecb0be6a65842a41922859fa5522bb1d913fd4c7fc05a2d2ceb41d0161 |
| hovercard-subject-tag | issue:4351278910 |
| github-keyboard-shortcuts | repository,issues,copilot |
| google-site-verification | Apib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I |
| octolytics-url | https://collector.github.com/github/collect |
| analytics-location | / |
| fb:app_id | 1401488693436528 |
| apple-itunes-app | app-id=1477376905, app-argument=https://github.com/_view_fragments/issues/show/Unity-Technologies/UnityDataTools/68/issue_layout |
| twitter:image | https://opengraph.githubassets.com/ca3eac7bf992ad20d1193b04fac1e05bece71da4f706668fad3f5059f6aa7de0/Unity-Technologies/UnityDataTools/issues/68 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/ca3eac7bf992ad20d1193b04fac1e05bece71da4f706668fad3f5059f6aa7de0/Unity-Technologies/UnityDataTools/issues/68 |
| og:image:alt | Some places in UnityDataTool, including the analyze schema use "AssetBundle" when the functionality is actually general to any use of the Unity Archive file format. Primarily the name of this table... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | SkowronskiAndrew |
| hostname | github.com |
| expected-hostname | github.com |
| None | af57322612a2efc3d6fee860947245ffbb465e4e3f9eb5dfefc0f770217aa0ca |
| turbo-cache-control | no-preview |
| go-import | github.com/Unity-Technologies/UnityDataTools git https://github.com/Unity-Technologies/UnityDataTools.git |
| octolytics-dimension-user_id | 426196 |
| octolytics-dimension-user_login | Unity-Technologies |
| octolytics-dimension-repository_id | 472365703 |
| octolytics-dimension-repository_nwo | Unity-Technologies/UnityDataTools |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 472365703 |
| octolytics-dimension-repository_network_root_nwo | Unity-Technologies/UnityDataTools |
| turbo-body-classes | logged-out env-production page-responsive |
| disable-turbo | false |
| browser-stats-url | https://api.github.com/_private/browser/stats |
| browser-errors-url | https://api.github.com/_private/browser/errors |
| release | 93fabb5edc1b64676979fa226fed14ab56431f54 |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width