Version: 2021.1
Filtering searches
Regular searches

Using the Index Manager

The Index Manager allows you to create, edit, and remove search indexes.

To open the Index Manager choose Windows > Search > Index Manager.

Section Description
File Path The location of the .index file.
Name The name you give to the index.
Score The Score is a number that is used with multiple indexes to increase the relevance of one index over another. The lower the number, the more weight is placed on an indexes’ relevance. Unity suggests using the default setting unless you are using advanced indexing scenarios.
Roots Choose a folder to index all of its contents.
Packages Select Packages to index the content of all the packages in the project.
Includes File extensions (*.jpg), specific files, or folders to index. This supersedes Excludes.
Excludes An extension, folder, or file to ignore. Especially useful for files that are generated by other process, for temp files, or for files from external sources (Asset Store plugins).
Options Disabled: Select to disable an index. Use as a debugging function to stop an index from being queried without deleting it.

Types: Indexes the object types information.

Properties: Indexes all properties of all objects (only top level objects in a Scene or Prefab). Allows you to use the Property filter to search an index.

Sub objects: Indexes all Scene objects for a Unity scene and all subassets for an FBX.

Dependencies: Indexes all dependencies of all Assets. Using this setting creates a much larger index. Allows you to use the DependencyIn the context of the Package Manager, a dependency is a specific package version (expressed in the form package_name@package_version) that a project or another package requires in order to work. Projects and packages use the dependencies attribute in their manifests to define the set of packages they require. For projects, these are considered direct dependencies; for packages, these are indirect, or transitive, dependencies. More info
See in Glossary
filter to search an index.
Show package indexes Select to show package indexes (when available) in the Index Manager.

Index results

The following tabs contain information about the index:

  • Assets: Displays the assets indexed.
  • Objects: (Prefab and Scene indexes only) Displays the object identifiers.
  • Keywords: Displays the available searchable Properties or filters you can use to further narrow your search results.

Adding an index

You can create Asset, PrefabAn asset type that allows you to store a GameObject complete with components and properties. The prefab acts as a template from which you can create new object instances in the scene. More info
See in Glossary
, and SceneA Scene contains the environments and menus of your game. Think of each unique Scene file as a unique level. In each Scene, you place your environments, obstacles, and decorations, essentially designing and building your game in pieces. More info
See in Glossary
indexes. For more information on index types, see Indexes

  1. Open the Index Manager.
  2. Click the plus (+) sign in the left pane of the Index Manager window and select the type of index you want to create.
  3. Customize your index settings in the right pane and click Create.
  4. Name your index in the Save Index Settings window and click Save.
    Your index builds automatically. Depending on the size of the project and your index settings, this may take some time.

Editing an index

  1. Open the Index Manager.
  2. Select the index from the left pane of the Index Manager window.
  3. Make changes to your index name or settings and click Save.

Note: If you make changes without saving your index, an asterisk (*) appears next to the window title. If you try to close the window without saving, Unity prompts you to save your index. When you save, Unity rebuilds your index with your changes.

Deleting an index

  1. Open the Index Manager.
  2. Select the index from the left pane of the Index Manager window.
  3. Click the minus (-) sign.
  4. Click Yes to confirm that you want to delete the index.
Filtering searches
Regular searches