Search Issue Tracker

Active

Votes

0

Found in

2022.3.61f1

6000.0.45f1

6000.1.0b13

6000.2.0a8

Issue ID

UUM-102132

Regression

No

Synonyms are not transfered to new objects when the "SearcherTreeUtility.CreateFromFlatList()" method is used

-

How to reproduce:
1. Create and open a new project
2. Install the “Searcher“ package by going to Window > Package Manager > “+“ in the top left corner > “Add package by name“ > writing “com.unity.searcher“
3. Open the “Packages/com.unity.searcher/Editor/Searcher/SearcherTreeUtility.cs” script in any IDE
4. Observe lines 70 and 71 of the script

Expected result: There is a line that transfers the “synonyms“ of the “item“ object to the “currentSearchNode“ object
Actual result: No line transfers the “synonyms“ of the “item“ object to the “currentSearchNode“ object

Reproducible in: 4.6.0-preview, 4.9.3 (2021.3.50f1, 2022.3.61f1, 6000.0.45f1, 6000.1.0b13, 6000.2.0a8)
Could not test in: 4.3.2 (No SearcherTreeUtility.cs script in the package)

Reproduced on: Windows 11 Pro (24H2)
Not reproduced on: No other environment tested

Notes:
- I was unable to create a reproduction project to showcase the bug successfully, hence the non-standard reproduction steps
- The user suggests a fix for the issue by adding {{“currentSearchNode.Synonyms = item.Synonyms;"}} around line 72 of SearcherTreeUtility.cs script

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.