Search Issue Tracker

Active

Under Consideration for 2021.3.X, 2022.3.X

Votes

0

Found in

2021.3.36f1

2022.3.21f1

2023.2.13f1

2023.3.0b10

6000.0.0b11

Issue ID

UUM-65462

Regression

No

SearchContext Attribute does not work when used with arrays

--

-

How to reproduce:
1. Open the attached “array.zip” project
2. Open “SampleScene” Scene (Assets > Scenes)
3. In the Hierarchy window, select “Cube” GameObject
4. In the Inspector window, observe the Elements list of the “New Behaviour Script” Component

Expected result: List elements are “None (GameObject)”
Actual result: List elements are “None (GameObject[])”

Reproducible with: 2021.3.36f1, 2022.3.21f1, 2023.2.13f1, 2023.3.0b10

Reproduced on: macOS 14.2.1 (Intel)
Not reproducible on: No other environment tested

Note: It is not reproducible if the advanced search engine is used and the filters are added by hand. Unfortunately, this does not allow to restrict the object selection, which could be defined by the query of the SearchContext attribute

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.