Search Unity

  1. Welcome to the Unity Forums! Please take the time to read our Code of Conduct to familiarize yourself with the forum rules and how to post constructively.
  2. Dismiss Notice

Feedback Build "assets search index" on project import

Discussion in '2021.2 Beta' started by Peter77, May 24, 2021.

  1. Peter77

    Peter77

    QA Jesus

    Joined:
    Jun 12, 2013
    Posts:
    6,438
    When opening an existing project without Library folder (when pulled from version control) causes Unity to import/load all assets.

    Once the project has been opened and then using the new Search, causes Unity to load all assets again to build the assets search index. During this time, the editor turns pretty much unusable, because of freezes that occur when loading assets.

    I wonder if you can build the search index during project import already, to avoid the double-waiting-time and hide the freezes.

    upload_2021-5-24_7-29-27.png
     
    mahdi_jeddi likes this.
  2. jonathans42

    jonathans42

    Unity Technologies

    Joined:
    Jan 25, 2018
    Posts:
    514
    Hi, this is indeed a solution. We had this at some point, but many users preferred to wait until they use QS for the first time for the index to be built.

    That said, the indexing happens in a background process and shouldn't affect the main editor process unless you have very few cores or overloaded HDD activities? Which version are you at? Does it seems to stall while resolving artifacts (step 1), while combining indexes (step 2, your screen shot seems to be in that step), while sorting indexes (step 3) or any of those steps?

    Thanks,
     
  3. jonathans42

    jonathans42

    Unity Technologies

    Joined:
    Jan 25, 2018
    Posts:
    514
    Good news, the search indexing combine step has been improved by 175%. The improvement is already available in com.unity.quicksearch@3.0.0-preview.10, it will land soon in 22.1 and will probably be backported to 21.2.

    Thanks,
     
  4. nsmith1024

    nsmith1024

    Joined:
    Mar 18, 2014
    Posts:
    869
    Hello,

    How do i TURN OFF the search index background task? It took over my whole computer , i cant even move the mouse anymore and the CPU is at 100% HD at 100%, i mean who writes code that does that??

    Why is it that once i run Unity, it takes over the whole computer, even if its doing nothing with a blank project, the CPU is going 100% and the fan start going like crazy and it stays that why all the time?

    OMG come on man why is all that necessary?
     
  5. Wrymnn

    Wrymnn

    Joined:
    Sep 24, 2014
    Posts:
    352
    still issue in 2023... insane
     
    Pavlov_Oleg likes this.