You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This error occurs when SerializedFiles are built without TypeTrees. The command will skip these files and continue.
92
93
93
-
**Solution:** Enable **ForceAlwaysWriteTypeTrees** in your Unity build settings. See [Unity Content Format](../../Documentation/unity-content-format.md) for details.
94
+
**Solutions:**
95
+
- Enable **ForceAlwaysWriteTypeTrees** in your Unity build settings. See [Unity Content Format](../../Documentation/unity-content-format.md) for details.
96
+
- If your bundles were built with external TypeTree data (Unity 6.5+), use the `--typetree-data` option to load the TypeTree data file before analysis:
Copy file name to clipboardExpand all lines: Documentation/unitydatatool.md
+16Lines changed: 16 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -41,6 +41,22 @@ Use `--help` with any command for details: `UnityDataTool analyze --help`
41
41
42
42
Use `--version` to print the tool version.
43
43
44
+
## External TypeTree Data
45
+
46
+
Starting with Unity 6.5, asset bundles can be built with TypeTree data extracted into a separate file. When bundles are built this way, the TypeTree data file must be loaded before the bundles can be processed.
47
+
48
+
The `--typetree-data` (`-d`) option is available on the [`analyze`](command-analyze.md) and [`dump`](command-dump.md) commands:
49
+
50
+
```bash
51
+
# Analyze bundles that use an external TypeTree data file
> **Note:** This option requires a version of UnityFileSystemApi from Unity 6.5 or newer. Using it with an older version of the library will produce an error message.
varobjectIdOpt=newOption<long>(aliases:new[]{"--objectid","-i"},()=>0,"Only dump the object with this signed 64-bit id (default: 0, dump all objects)");
0 commit comments