Search Issue Tracker
Fixed
Fixed in 2021.3.40f1, 2022.3.38f1, 6000.0.11f1, 7000.0.0a2
Votes
0
Found in
2021.3.36f1
2022.3.21f1
2023.2.13f1
2023.3.0b10
6000.0.0b11
6000.1.0a7
7000.0.0a1
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
All about bugs
View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.
Latest issues
- WebGPU: ASTC texture mip levels are corrupt
- [Vulkan] Crash on with multiple stack traces when rendering large Terrain with specific hardware
- Crash on SkinnedMeshRendererManager when interacting with a prefab generated with uncombined meshes using Synty Sidekick Character Creator
- Crash on folly::detail::safe_assert_terminate_v when updating the Meta XR SDK Packages
- The text font falls back on a different font depending on the fallback font used
Resolution Note (fix version 7000.0.0a2):
Search: SearchContext attribute now works with arrays and lists.
Resolution Note (fix version 6000.0.11f1):
Search: SearchContext attribute now works with arrays and lists.
Resolution Note (fix version 2021.3.40f1):
Search: SearchContext attribute now works with arrays and lists.