Title: find-refs fails to open database: "Connection string keyword 'version' is not supported" · Issue #72 · Unity-Technologies/UnityDataTools · GitHub
Open Graph Title: find-refs fails to open database: "Connection string keyword 'version' is not supported" · Issue #72 · Unity-Technologies/UnityDataTools
X Title: find-refs fails to open database: "Connection string keyword 'version' is not supported" · Issue #72 · Unity-Technologies/UnityDataTools
Description: Summary The find-refs command fails immediately when opening a database produced by analyze: $ UnityDataTool find-refs out.db -n red -t Texture2D Error opening database: Connection string keyword 'version' is not supported. For a possibl...
Open Graph Description: Summary The find-refs command fails immediately when opening a database produced by analyze: $ UnityDataTool find-refs out.db -n red -t Texture2D Error opening database: Connection string keyword '...
X Description: Summary The find-refs command fails immediately when opening a database produced by analyze: $ UnityDataTool find-refs out.db -n red -t Texture2D Error opening database: Connection string keyword &...
Opengraph URL: https://github.com/Unity-Technologies/UnityDataTools/issues/72
X: @github
Domain: github.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"find-refs fails to open database: \"Connection string keyword 'version' is not supported\"","articleBody":"## Summary\n\nThe `find-refs` command fails immediately when opening a database produced by `analyze`:\n\n```\n$ UnityDataTool find-refs out.db -n red -t Texture2D\nError opening database: Connection string keyword 'version' is not supported. For a possible alternative, see https://go.microsoft.com/fwlink/?linkid=2142181.\n```\n\nThis was reported on internal Slack but the cause wasn't clear at the time. It reproduces consistently with any analyze database.\n\n## Cause\n\nThe reference finder builds a SQLite connection string using a legacy keyword (`Version=...`) from the old `System.Data.SQLite` provider. The project uses `Microsoft.Data.Sqlite`, which does not recognize that keyword and throws on open. The `analyze`/`SQLiteWriter` path builds its connection string correctly via `SqliteConnectionStringBuilder`, so only the ReferenceFinder code path is affected.\n\n## Fix direction\n\nBuild the connection string with `SqliteConnectionStringBuilder` (matching `SQLiteWriter`) instead of hand-writing a `System.Data.SQLite`-style connection string. To be addressed in a follow-up PR.\n\n## Repro\n\n```\nUnityDataTool analyze -o out.db -p \"*.cf\" \u003cContentDirectory build\u003e\nUnityDataTool find-refs out.db -n red -t Texture2D\n```\n\n## Related\n\nRelated to #44 (refs table work).","author":{"url":"https://github.com/SkowronskiAndrew","@type":"Person","name":"SkowronskiAndrew"},"datePublished":"2026-06-11T20:35:21.000Z","interactionStatistic":{"@type":"InteractionCounter","interactionType":"https://schema.org/CommentAction","userInteractionCount":1},"url":"https://github.com/72/UnityDataTools/issues/72"}
| 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:825312f2-2188-8465-70a8-46b7d8c43d0d |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | DFFE:2FC8B3:9EBDFF1:D8678FE:6A5EFECC |
| html-safe-nonce | 24090ee2bbbda8057a2e8c71cd4791377d1a94c82bf2e21c5caa08983a409e5a |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJERkZFOjJGQzhCMzo5RUJERkYxOkQ4Njc4RkU6NkE1RUZFQ0MiLCJ2aXNpdG9yX2lkIjoiNzUwOTQxMzYwNjI4OTUwNTk5NiIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9 |
| visitor-hmac | 96da146ed51c14c79a4a75ee4c64b7ead488c24e11f2bd3e05ab878328945b7f |
| hovercard-subject-tag | issue:4644018512 |
| 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/72/issue_layout |
| twitter:image | https://opengraph.githubassets.com/4a5c0281ee6dc4fff1d2b96acf8b5cf701a720e2d1426d6d0e1b3dec94fdfc5b/Unity-Technologies/UnityDataTools/issues/72 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/4a5c0281ee6dc4fff1d2b96acf8b5cf701a720e2d1426d6d0e1b3dec94fdfc5b/Unity-Technologies/UnityDataTools/issues/72 |
| og:image:alt | Summary The find-refs command fails immediately when opening a database produced by analyze: $ UnityDataTool find-refs out.db -n red -t Texture2D Error opening database: Connection string keyword '... |
| 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 | 82d0004a35927bdb00c652a57f456c55aa0eda4ade1bc7956d7510fdea6e454b |
| 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 | f5d264313b1054309be1fe75046ee018a1b29197 |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width