-
Notifications
You must be signed in to change notification settings - Fork 62
Established individual topic for each UnityDataTool command #43
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
Remove duplicated reference section in main readme that would be hard to maintain A few edits based on review.
36854f6 to
6f060c8
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Pull request overview
This PR reorganizes the UnityDataTool documentation by splitting the monolithic README into individual command-specific pages. The main README now serves as a quick reference hub with links to detailed documentation for each command (analyze, dump, archive, find-refs).
Key changes:
- Restructured README with command table and quick start examples
- Created individual markdown files for each command with detailed usage, examples, and troubleshooting
- Improved navigation with consistent formatting and cross-references
Reviewed changes
Copilot reviewed 5 out of 5 changed files in this pull request and generated 4 comments.
Show a summary per file
| File | Description |
|---|---|
| UnityDataTool/README.md | Condensed main README into overview with command table, quick start examples, and links to detailed docs |
| UnityDataTool/Commands/analyze.md | Detailed analyze command documentation including options, examples, troubleshooting, and performance considerations |
| UnityDataTool/Commands/dump.md | Complete dump command reference with archive support explanation and PPtr details |
| UnityDataTool/Commands/archive.md | Documentation for archive list/extract sub-commands with comparison table |
| UnityDataTool/Commands/find-refs.md | Reference finder command docs with use cases, output format explanation, and experimental warning |
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
|
|
||
| | Command | Output | Use Case | | ||
| |---------|--------|----------| | ||
| | `archive extract` | Binary SerializedFiles, .resS anything else inside the archive content | When you need all the raw files inside an archive | |
Copilot
AI
Dec 19, 2025
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Missing punctuation. Should be 'Binary SerializedFiles, .resS, and anything else inside the archive content' or 'Binary SerializedFiles, .resS files, and anything else inside the archive content'.
| | `archive extract` | Binary SerializedFiles, .resS anything else inside the archive content | When you need all the raw files inside an archive | | |
| | `archive extract` | Binary SerializedFiles, .resS files, and anything else inside the archive content | When you need all the raw files inside an archive | |
| | **Entities content** | `StreamingAssets/ContentArchives` folder for [Entities](https://docs.unity3d.com/Packages/[email protected]/manual/content-management-intro.html) projects | | ||
| | **Player Data folder** | The `Data` folder of a Unity Player build | | ||
| | **Compressed Player builds** | The `data.unity3d` file will be analyzed like AssetBundles | | ||
| | **BuildReport files** | The build report is typically found at a path like `Library/LastBuild.buildreport`and is a binary serialized file | |
Copilot
AI
Dec 19, 2025
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Missing space between backtick and 'and'. Should be Library/LastBuild.buildreport and is a binary serialized file.
|
|
||
| A real life analyze of a big Addressables build shows how large a difference this can make: | ||
|
|
||
| * 208 seconds and producted a 500MB database (not specifying --skip-reference) |
Copilot
AI
Dec 19, 2025
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Corrected spelling of 'producted' to 'produced'.
| * 208 seconds and producted a 500MB database (not specifying --skip-reference) | |
| * 208 seconds and produced a 500MB database (not specifying --skip-reference) |
| | `m_FileID` | Index into External References list (0 = same file) | | ||
| | `m_PathID` | Object's Local File Identifier (LFID) in that file | | ||
|
|
||
| A null reference will have value m_FileID = 0, m_PathID = 0 |
Copilot
AI
Dec 19, 2025
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Grammatically incorrect. Should be 'A null reference will have values m_FileID = 0, m_PathID = 0' (plural 'values').
| A null reference will have value m_FileID = 0, m_PathID = 0 | |
| A null reference will have values m_FileID = 0, m_PathID = 0 |
| | **Entities content** | `StreamingAssets/ContentArchives` folder for [Entities](https://docs.unity3d.com/Packages/[email protected]/manual/content-management-intro.html) projects | | ||
| | **Player Data folder** | The `Data` folder of a Unity Player build | | ||
| | **Compressed Player builds** | The `data.unity3d` file will be analyzed like AssetBundles | | ||
| | **BuildReport files** | The build report is typically found at a path like `Library/LastBuild.buildreport`and is a binary serialized file | |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
| | **BuildReport files** | The build report is typically found at a path like `Library/LastBuild.buildreport`and is a binary serialized file | | |
| | **BuildReport files** | The build report is typically found at a path like `Library/LastBuild.buildreport` and is a binary serialized file | |
SkowronskiAndrew
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Apply typo fixes discovered by copilot review
Split up the README file for UnityDataTool so that its easier to see the list of commands
Establish more structure to the documentation comment.