Title: Fix Analyze error handling to properly record failure to load · Issue #48 · Unity-Technologies/UnityDataTools · GitHub
Open Graph Title: Fix Analyze error handling to properly record failure to load · Issue #48 · Unity-Technologies/UnityDataTools
X Title: Fix Analyze error handling to properly record failure to load · Issue #48 · Unity-Technologies/UnityDataTools
Description: The reporting of "successfully processed files" is complete wishful thinking. For example when trying to "analyze" a player build without typetrees I got the following conclusion line: Finalizing database. Successfully processed files: 6...
Open Graph Description: The reporting of "successfully processed files" is complete wishful thinking. For example when trying to "analyze" a player build without typetrees I got the following conclusion line: Finalizing d...
X Description: The reporting of "successfully processed files" is complete wishful thinking. For example when trying to "analyze" a player build without typetrees I got the following conclusio...
Opengraph URL: https://github.com/Unity-Technologies/UnityDataTools/issues/48
X: @github
Domain: github.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"Fix Analyze error handling to properly record failure to load","articleBody":"The reporting of \"successfully processed files\" is complete wishful thinking.\n\nFor example when trying to \"analyze\" a player build without typetrees I got the following conclusion line:\n\n\n**Finalizing database. Successfully processed files: 6, Failed files: 0, Ignored files: 0**\n\nBut looking a the more complete log its apparent that nothing got imported!\n\nThis ticket is to revisit the error handling and make sure that if we cannot open the serialized file this is treated as a failure.\n\nRepro steps:\n\n```\ncd TestCommon\\Data\\PlayerNoTypeTree\nUnityDataTool analyze . -o out.db\n```\n\nExpected: \nMessage at the end should have a non-zero number for failed files.\n\nFull log:\n\n```\n\u003eUnityDataTool analyze . -o out.db\nInvalid serialized file version. File: \"C:\\UnitySrc\\UnityDataTools\\TestCommon\\Data\\PlayerNoTypeTree\\level0\". Expected version: 6000.3.0b6. Actual version: 6000.0.65f1.\nUnknown error occurred while loading 'C:\\UnitySrc\\UnityDataTools\\TestCommon\\Data\\PlayerNoTypeTree\\level0'.\n\nError processing file: C:\\UnitySrc\\UnityDataTools\\TestCommon\\Data\\PlayerNoTypeTree\\level0\nSystem.Exception: Unknown error.\nProcessing 16% (1/6) level0Invalid serialized file version. File: \"C:\\UnitySrc\\UnityDataTools\\TestCommon\\Data\\PlayerNoTypeTree\\level1\". Expected version: 6000.3.0b6. Actual version: 6000.0.65f1.\nUnknown error occurred while loading 'C:\\UnitySrc\\UnityDataTools\\TestCommon\\Data\\PlayerNoTypeTree\\level1'.\n\nError processing file: C:\\UnitySrc\\UnityDataTools\\TestCommon\\Data\\PlayerNoTypeTree\\level1\nSystem.Exception: Unknown error.\nProcessing 33% (2/6) level1\nError processing file: C:\\UnitySrc\\UnityDataTools\\TestCommon\\Data\\PlayerNoTypeTree\\out.db\nSystem.IO.IOException: The process cannot access the file 'C:\\UnitySrc\\UnityDataTools\\TestCommon\\Data\\PlayerNoTypeTree\\out.db' because it is being used by another process.\nProcessing 50% (3/6) out.dbFailed to load 'C:\\UnitySrc\\UnityDataTools\\TestCommon\\Data\\PlayerNoTypeTree\\README.md'. File may be corrupted or was serialized with a newer version of Unity.\n\nProcessing 66% (4/6) README.mdInvalid serialized file version. File: \"C:\\UnitySrc\\UnityDataTools\\TestCommon\\Data\\PlayerNoTypeTree\\sharedassets0.assets\". Expected version: 6000.3.0b6. Actual version: 6000.0.65f1.\nUnknown error occurred while loading 'C:\\UnitySrc\\UnityDataTools\\TestCommon\\Data\\PlayerNoTypeTree\\sharedassets0.assets'.\n\nError processing file: C:\\UnitySrc\\UnityDataTools\\TestCommon\\Data\\PlayerNoTypeTree\\sharedassets0.assets\nSystem.Exception: Unknown error.\nProcessing 83% (5/6) sharedassets0.assetsInvalid serialized file version. File: \"C:\\UnitySrc\\UnityDataTools\\TestCommon\\Data\\PlayerNoTypeTree\\sharedassets1.assets\". Expected version: 6000.3.0b6. Actual version: 6000.0.65f1.\nUnknown error occurred while loading 'C:\\UnitySrc\\UnityDataTools\\TestCommon\\Data\\PlayerNoTypeTree\\sharedassets1.assets'.\n\nError processing file: C:\\UnitySrc\\UnityDataTools\\TestCommon\\Data\\PlayerNoTypeTree\\sharedassets1.assets\nSystem.Exception: Unknown error.\nProcessing 100% (6/6) sharedassets1.assets\nFinalizing database. Successfully processed files: 6, Failed files: 0, Ignored files: 0\n```","author":{"url":"https://github.com/SkowronskiAndrew","@type":"Person","name":"SkowronskiAndrew"},"datePublished":"2025-12-31T19:33:02.000Z","interactionStatistic":{"@type":"InteractionCounter","interactionType":"https://schema.org/CommentAction","userInteractionCount":0},"url":"https://github.com/48/UnityDataTools/issues/48"}
| 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:aa134837-a786-5769-7fd7-e6ce2c64f6e7 |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | A152:20CC71:703439D:99F2C3C:6A5EB325 |
| html-safe-nonce | d097c534dbff8faa871494b35296cbb1d79e6e57e66e9f758695139cfcb5cc9d |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJBMTUyOjIwQ0M3MTo3MDM0MzlEOjk5RjJDM0M6NkE1RUIzMjUiLCJ2aXNpdG9yX2lkIjoiNTkwNTc5MDg3MzcyOTE1MTc4MSIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9 |
| visitor-hmac | c9926031ca46817904eb81da98354c79ff7cbcebdeaece5ed260bc1f7540077b |
| hovercard-subject-tag | issue:3773473043 |
| 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/48/issue_layout |
| twitter:image | https://opengraph.githubassets.com/27038b3da7af15707eb17b720e344ea33b1586b8471a45c3932ba26b5316e09b/Unity-Technologies/UnityDataTools/issues/48 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/27038b3da7af15707eb17b720e344ea33b1586b8471a45c3932ba26b5316e09b/Unity-Technologies/UnityDataTools/issues/48 |
| og:image:alt | The reporting of "successfully processed files" is complete wishful thinking. For example when trying to "analyze" a player build without typetrees I got the following conclusion line: Finalizing d... |
| 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 | 7129250e6854dcc7bfa46fc877bb154b96762b31e3fa82fdf0697c71f08bb32c |
| 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 | 3084c198d559e243975a7a7f61d0b80bcea2a724 |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width