Search Issue Tracker

Won't Fix

Votes

0

Found in

2021.3.38f1

2022.3.32f1

6000.0.4f1

7000.0.0a1

Issue ID

UUM-71830

Regression

No

Global Search returns incorrect results in the Project tab when searching by namespace and class type after they have been modified

-

Reproduction steps:
1. Open the attached “UnitySearch.zip” project
2. Open the Global Search (Ctrl + K)
3. Enter "t:Match.World.WorldTile" in the search query

Expected result: 25 Prefabs in the Project tab are visible
Actual result: 22 Prefabs are shown in the Project tab

Reproducible with: 2021.3.38f1
Not reproducible with: 2022.2.2f1, 2022.3.27f1
Couldn’t test with: 2022.1.0a1 - 2022.1.24f1 (“Failed to build search index for Assets” errors), 2022.2.0a1 - 2022.2.1f (Unfixable compiler errors), 6000.0.1f1 (Unfixable compiler errors)

Reproducible on: Windows 11
Not reproducible on: No other environment tested

Notes:
- Issue appears when renaming the class or pulling assets via Unity Version Control
- The issue first appeared after renaming the class in the “WordTile” script from Match.World.Tile to Match.World.WorldTile
- Deleting the Library or reimporting assets fixes the issue
- In 2022.2.21f1 version and above the Search gives too many results, but unchecking the “Asset Database (adb:)” in the settings, makes the Project tab only show the expected prefabs

  1. Resolution Note:

    At some point the indexing process wasn't able to complete. This is not an easy fix. We are planning on revamping the indexation system for Unity7.

Add comment

Log in to post comment

All about bugs

View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.