Version: 2022.3
Language : English
The Index Manager
Search Providers

Search tables

You can use Search tables to view, compare, and sort Search items by properties. From the table you can also modify data and export data to a .csv file or JSON.

View Search tables

To view your search in table format, enter a search query and click the table icon in the bottom right of the Unity Search window.

By default, the table will show the Label and Description columns unless you have added new columns or you are using a select{} statement that creates new columns from selectors.

Click the column header to sort the search results in ascending or descending order by that column property.

Click the reset icon () if no columns appear, or if the columns appear from the previous search and you want to reset to the default column layout.

Add columns

To add a new column in the search table, click the plus icon (+) and choose a property or selector.

Customize columns

You can customize the name, icon, alignment and whether the column is sortable.

To edit your column, right-click the column header and select Edit <column name>.

Field Description
Format Changes the data about the results to another format. If the result has no data for the new format (for example asking for color information from position data), the cell will be blank.
Icon Changes the icon.
Name Changes the name of the column
Alignment Changes the alignment of the column
Sortable Select to make the column sortable in the table
Path Indicates the path of the property or sub property which is useful if you need to understand where a property is located.
Selector Indicates which property is accessed within the search query. This is useful if you wish to create queries for specific properties, for instance if you have a column for the Height property, you can check the Selector field and create a height search query for Assets using #m_Height.

Arrange columns

Click and hold the column header and drag it to rearrange the columns.

Delete columns

Right-click the column header and select Remove <column name>.

Show/hide columns

Once your table is set up, you may wish to hide certain columns temporarily without deleting them.

Right-click in the column header area and select Show Columns > <name of column>. The columns with a checkmark appear in the table.

Reset tables

Reset sets the table back to the default, with the Label and Description columns or will include columns specified in the select{} statement.

Click the reset icon () to remove all added columns or if the columns appear from the previous search and you want to reset to the default column layout.

Note: If you want to keep your current search table column layout, save your table before resetting.

Save tables

To save your search table column layout:

  • Click the Save icon in the Saved Searches User or Project panel area, or the Save icon to the right of the Search field.

    Unity Search includes the table layout with the saved search query. When a query is saved with a table its icon changes to the table icon.

Export table data

You can export table data in JSON or .csv format. When you save using JSON, you can open the saved table data in Unity. This is static data from the time that you saved it that does not refresh.

To export table data:

  1. From the Save drop-down menu, choose Export Report (for JSON) or Export CSV.
  2. Name your file, choose a location to store your file, then click Save

Modify table data

You can modify data in the table using the Experimental format.

Note: When you change the data in the Unity Search table using the Experimental format, Search is not aware of any dependencies on the data. No changes to the custom InspectorA Unity window that displays information about the currently selected GameObject, asset or project settings, allowing you to inspect and edit the values. More info
See in Glossary
code related to property editing are triggered. To ensure that your changes include dependencies or linked changes which are often embedded in custom code for common properties, make your changes in the Inspector instead.

To change the column to Experimental:

  1. Right-click in the column header area and select Column Format > Experimental>.
  2. Choose either Serialized or MaterialAn asset that defines how a surface should be rendered. More info
    See in Glossary
    Property. The data in the column will now be editable.
The Index Manager
Search Providers