Title: analyze: misleading version errors and process crash on AssetBundles without TypeTrees · Issue #77 · Unity-Technologies/UnityDataTools · GitHub
Open Graph Title: analyze: misleading version errors and process crash on AssetBundles without TypeTrees · Issue #77 · Unity-Technologies/UnityDataTools
X Title: analyze: misleading version errors and process crash on AssetBundles without TypeTrees · Issue #77 · Unity-Technologies/UnityDataTools
Description: Problem Running analyze on AssetBundles whose SerializedFiles have no TypeTrees produces poor output: Misleading errors. The native loader falls back to exact-version type matching when there are no TypeTrees, so it prints Invalid serial...
Open Graph Description: Problem Running analyze on AssetBundles whose SerializedFiles have no TypeTrees produces poor output: Misleading errors. The native loader falls back to exact-version type matching when there are n...
X Description: Problem Running analyze on AssetBundles whose SerializedFiles have no TypeTrees produces poor output: Misleading errors. The native loader falls back to exact-version type matching when there are n...
Opengraph URL: https://github.com/Unity-Technologies/UnityDataTools/issues/77
X: @github
Domain: github.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"analyze: misleading version errors and process crash on AssetBundles without TypeTrees","articleBody":"## Problem\n\nRunning `analyze` on AssetBundles whose SerializedFiles have no TypeTrees produces poor output:\n\n1. **Misleading errors.** The native loader falls back to exact-version type matching when there are no TypeTrees, so it prints `Invalid serialized file version. Expected: ... Actual: ...` straight to stderr. The version mismatch is a symptom; the real cause is the missing TypeTrees.\n\n2. **Process crash.** For at least one such file the native DLL dereferences bad memory and the whole process dies with `Fatal error. 0xC0000005` plus a long, unhelpful managed stack trace. This is a native access violation that cannot be caught in .NET.\n\nExample:\n\n```\nUnityDataTool analyze -o out.db \u003cpath-to-StreamingAssets-with-no-typetree-bundles\u003e\n```\n\nLoose (non-archive) SerializedFiles without TypeTrees (e.g. `TestCommon/Data/PlayerNoTypeTree`) already report a clear hint. The archive case should behave at least as well.\n\n## Desired behaviour\n\nDetect missing TypeTrees before handing the file to the native loader and skip it cleanly, printing the existing \"does not have TypeTrees\" hint. No misleading version errors, no crash. Report these files in their own summary category so they can be distinguished from genuine failures in a large run.","author":{"url":"https://github.com/SkowronskiAndrew","@type":"Person","name":"SkowronskiAndrew"},"datePublished":"2026-06-15T22:15:58.000Z","interactionStatistic":{"@type":"InteractionCounter","interactionType":"https://schema.org/CommentAction","userInteractionCount":0},"url":"https://github.com/77/UnityDataTools/issues/77"}
| 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:b6eb43ea-3ffa-46a5-b4f5-6d4776b5f755 |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | 9F58:2E960D:643F536:8A9B4F8:6A5E8FE3 |
| html-safe-nonce | 6d35f8367f89a210d51e322a6e75111954c701ae4e3beb986f505f11436c669c |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiI5RjU4OjJFOTYwRDo2NDNGNTM2OjhBOUI0Rjg6NkE1RThGRTMiLCJ2aXNpdG9yX2lkIjoiNTAyNjk3NzA3MjQ2NjAwNTk4NyIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9 |
| visitor-hmac | 4205abaeb30c20479340d287a59136cc9561dec8bf3ba10698462f33090c1dc4 |
| hovercard-subject-tag | issue:4669323633 |
| 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/77/issue_layout |
| twitter:image | https://opengraph.githubassets.com/89f3197374f28709ba433f13eefecd2457a41329f5eb594a32a7b3520fa57dd2/Unity-Technologies/UnityDataTools/issues/77 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/89f3197374f28709ba433f13eefecd2457a41329f5eb594a32a7b3520fa57dd2/Unity-Technologies/UnityDataTools/issues/77 |
| og:image:alt | Problem Running analyze on AssetBundles whose SerializedFiles have no TypeTrees produces poor output: Misleading errors. The native loader falls back to exact-version type matching when there are n... |
| 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 | 7c7e31acb6a895494e518b880f5ccf39604f7fa9a8f2f3c64145efc3b776256d |
| 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 | 2d2ac9bdd71d5f53f2b731c9330677e38624e301 |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width