Search Unity

Can the Quicksearch Package be used in the build of a Unity Project?

Discussion in 'Package Manager' started by TenEyesMedia, Oct 8, 2021.

  1. TenEyesMedia

    TenEyesMedia

    Joined:
    Aug 30, 2017
    Posts:
    1
    Hello,

    I stumbled on the Quicksearch Plugin (https://docs.unity.cn/Packages/com.unity.quicksearch@1.3/manual/index.html) and was wondering if the Search Functionalites only work in the Editor of Unity or if I can utilize them in a build (Standalone, App,...) as well.
    For example passing a search queue and getting the results of a custom DataType as a JSON, List, ...

    Thanks in advance.
     
  2. jonathans42

    jonathans42

    Unity Technologies

    Joined:
    Jan 25, 2018
    Posts:
    514
    Hi, currently we only supports the Editor, that said, we've ported as an experiment the
    QueryEngine<T>
    and
    SearchIndexer
    to the runtime and that was working (with minor tweaks).

    So until we support it officially you can always grab the code, move it to UnityEngine.Search and fix the minor compilation issues that depends on UnityEditor.

    On nice thing you could achieve is have a build process that build SearchIndexer DB in edit-mode and have those consume for search at runtime, i.e. for a large weapon and item inventory, etc.

    Let us know if you can make it work. Please note that the latest version of QuickSearch is 3.0.0-preview.19