Skip to content

Added support for specifying an extracted type tree data file#60

Merged
SkowronskiAndrew merged 10 commits intomainfrom
typetree-extraction-support
Mar 11, 2026
Merged

Added support for specifying an extracted type tree data file#60
SkowronskiAndrew merged 10 commits intomainfrom
typetree-extraction-support

Conversation

@paulb-unity
Copy link
Collaborator

Add command line option to specify extracted type tree data file.

Copy link
Collaborator

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

Looks good, i also did some manual testing on the files in TestCommon/Data/AssetBundleTypeTreeVariations/v23_extracted

UnityDataTool analyze -d .\AssetBundle.typetreedata -p *.bundle -o out.db .

Produces a valid sqlite database with objects in it

UnityDataTool dump --typetree-data .\AssetBundle.typetreedata .\prefab_with_serializedreference.serializedfile

Produce valid dump file in .\prefab_with_serializedreference.serializedfile.txt

Copy link
Collaborator

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

Thanks Paul!

Enhance documentation about the special version value that appears inside AssetBundle SerializedFiles
Add test files of the AssetBundles built with those flags (Not yet used by automated tests, but helpful for manual testing)
@SkowronskiAndrew SkowronskiAndrew merged commit b6caf1e into main Mar 11, 2026
5 checks passed
@SkowronskiAndrew SkowronskiAndrew deleted the typetree-extraction-support branch March 11, 2026 20:05
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