Skip to content

"Dump" command - support filtering by object type #52

@SkowronskiAndrew

Description

@SkowronskiAndrew

Currently the Dump command, e.g. TextDumperTool.cs, supports filtering by a specific object id (aka LFID).
You can query the object ids.

But, for convenient we should also support filtering by type. For type we could accept both the numeric value and the string value.

For example if we have a huge AssetBundle, we might want to just dump all the MonoBehavior objects, to see the value of some C# fields. Currently we would have to either dump the entire thing, or figure out the classids using other tools and dump them individually.

Further use cases:

  • Dumping the "BuildReport" object out of a large BuildReport file
  • Dumping AssetBundle object out of the SerializedFile inside an AssetBundle

This should be quite simple to implement.

As part of this task we should also add a bit of documentation coverage for this use case, e.g. perhaps focusing on the MonoBehaviour example in a section of documentation about using UnityDataTools with scripting objects.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions