Skip to content

Conversation

@SkowronskiAndrew
Copy link
Collaborator

@SkowronskiAndrew SkowronskiAndrew commented Dec 19, 2025

Split up the README file for UnityDataTool so that its easier to see the list of commands
Establish more structure to the documentation comment.

Remove duplicated reference section in main readme that would be hard to maintain
A few edits based on review.
Copy link
Contributor

Copilot AI left a 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 |
Copy link

Copilot AI Dec 19, 2025

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'.

Suggested change
| `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 |

Copilot uses AI. Check for mistakes.
| **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 |
Copy link

Copilot AI Dec 19, 2025

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.

Copilot uses AI. Check for mistakes.

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)
Copy link

Copilot AI Dec 19, 2025

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'.

Suggested change
* 208 seconds and producted a 500MB database (not specifying --skip-reference)
* 208 seconds and produced a 500MB database (not specifying --skip-reference)

Copilot uses AI. Check for mistakes.
| `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
Copy link

Copilot AI Dec 19, 2025

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').

Suggested change
A null reference will have value m_FileID = 0, m_PathID = 0
A null reference will have values m_FileID = 0, m_PathID = 0

Copilot uses AI. Check for mistakes.
| **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 |
Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
| **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 |

Copy link
Collaborator Author

@SkowronskiAndrew SkowronskiAndrew left a 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

@SkowronskiAndrew SkowronskiAndrew merged commit fd85a23 into main Dec 19, 2025
4 of 5 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants