-
Notifications
You must be signed in to change notification settings - Fork 8
Closed
Labels
Description
Hey there,
The GoQL Editor ASMDEF define 'AT_USE_QUICKSEARCH' is used within GoQLSearchProvider.cs, but the define itself is set to enable the incorrect using statement.
#if AT_USE_QUICKSEARCH || UNITY_2020_3
using Unity.QuickSearch;
#else //newer than 2021.2
using UnityEditor.Search;
#endifThough, when using Unity 2020.3 the namespace of Unity.QuickSearch does not exist. The QuickSearch ASMDEF is named "com.unity.quicksearch", but that is not the actual namespace used within the QuickSearch code.
Errors
[CompilerError] The type or namespace name 'QuickSearch' does not exist in the namespace 'Unity' (are you missing an assembly reference?)
Compiler Error at Library/PackageCache/com.unity.selection-groups@0.7.2-preview/GoQL/Editor/GoQLSearchProvider.cs:15 column 13
14: #if AT_USE_QUICKSEARCH
-->15: using Unity.QuickSearch;
16: #else //newer than 2021.2
17: using UnityEditor.Search;