Search Issue Tracker

By Design

Votes

0

Found in

2021.3.4f1

2022.2.0a13

2023.1.0b8

2023.2.0a6

Issue ID

UUM-3946

Regression

No

Object Picker only shows the parent Asset and not the child assets when using Advanced Object Picker

--

-

How to reproduce:

# Open the attached project “1221974.zip”
# Make sure that the Object Selector is set to “Advanced” in Preferences > Search
# Select the “testParentAndChildren” GameObject in the Hierarchy window
# From the Inspector window select the Object Picker

Expected results: All “ParentSO” Objects are visible in both the Classic and Advanced Object Picker
Actual results: The Advanced Object Picker doesn't show the child Objects of the Asset

Reproducible with: 2021.3.4f1, 2022.1.0f1, 2022.2.0a13
Could not test with: 2019.4.39f1, 2020.3.34f1, 2022.2.0a15 (needed asset does not contain child assets)

Reproduced on: macOS (Intel) Monterey 12.3.1

  1. Resolution Note:

    The Advanced asset picker works using the AdvancedSearch backend which indexes asset files on disk. The current script to create a "multi asset" file doesn't save the asset on disk after having added the subassets. Adding the line: AssetDatabase.SaveAssets(); at the end of the script will ensure the asset file is properly saved in disk and asset indexation works fine. If you do this, the result would be visible in the advanced picker.

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.