Hello! I’ve noticed that The SerializeField ObjectPicker can be set to use the new QuickSearch feature, and that really make me very happy!
(QuickSearch can search components attached to an prefab asset’s root GameObject, which is a super QOL feature :))
However, when I tried to use it, the default search query is t:Namespace.ClassType, and no result will popup.
It seems like QuickSearch only accepts classtype-only searching, so if I delete the namespace part, the searching works properly.
(expected search query: t:ClassType)
A simple work around is using [SearchContext("t:TheClassType")] attribute, this fixes the problem. But I appreciate that the default query could be t:ClassType only, so users don’t need to add SearchContext to all serializeFields.
(or maybe add a feature to search by full type name? It will be much better!)
※ My Unity Editor version is 2022.1.0f1. If it was a already-fixed bug, please forgive me
Thank you for the quick reply!
I’ve reported the issue by bug reporter just now, it’s id is CASE IN-17203. I’m not bothered by this issue, so please don’t feel any pressure.
(but I’m looking forward the issue to be fixed!)
this bug is already fixed in the latest version. I will see to backport the fix/feature in 22.2. We do not backport these smaller not critical fix to 22.1 (unfortunately for you )
@sebastienp_unity
Wow, I’ve never thought it would be fixed so fast! Thanks for the quick fix & response from you and the Unity Dev team.
I constantly updates my project to newer Unity, so no problem :)b