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
Copy file name to clipboardExpand all lines: Documentation/comparing-builds.md
+2Lines changed: 2 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -164,6 +164,8 @@ As expected, it's only fields on the MonoBehaviour and one of the Transforms tha
164
164
165
165
In a normal case we would not know exactly what changed in the build, so rather than confirming the expected changes we probably would be working in the other direction - using comparison technique to see which objects and values changed and try to build an understanding of whether this is "expected" or not.
166
166
167
+
Note: When you know the id of the object that has changed you can pass the `--objectid` argument to the `dump` command to only dump that object. This can be useful for large Serialized Files with many objects, where you want to focus on changes to a single object.
168
+
167
169
# Example 2 - Changes in a texture
168
170
169
171
The previous example covers the common case where the changes are limited to serialized values directly inside Serialized Files. However its also common that data inside the auxiliary .resS and .resource files can change, based on changes to textures, meshes, audio or video. This can also cause the AssetBundle content to change, even if the Serialized Files themselves are unchanged.
Copy file name to clipboardExpand all lines: TextDumper/README.md
+2-2Lines changed: 2 additions & 2 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -5,11 +5,11 @@ file (AssetBundle or SerializedFile) into human-readable yaml-style text file.
5
5
6
6
## How to use
7
7
8
-
The library consists of a single class called [TextDumperTool](./TextDumperTool.cs). It has a single
9
-
method named Dump and takes three parameters:
8
+
The library consists of a single class called [TextDumperTool](./TextDumperTool.cs). It has a method named Dump and takes four parameters:
10
9
* path (string): path of the data file.
11
10
* outputPath (string): path where the output files will be created.
12
11
* skipLargeArrays (bool): if true, the content of arrays larger than 1KB won't be dumped.
12
+
* objectId (long, optional): if specified and not 0, only the object with this signed 64-bit id will be dumped. If 0 (default), all objects are dumped.
varobjectIdOpt=newOption<long>(aliases:new[]{"--objectid","-i"},()=>0,"Only dump the object with this signed 64-bit id (default: 0, dump all objects)");
78
79
79
80
vardumpCommand=newCommand("dump","Dump the contents of an AssetBundle or SerializedFile.")
0 commit comments