Search Unity

  1. Unity Asset Manager is now available in public beta. Try it out now and join the conversation here in the forums.
    Dismiss Notice

Question Search: what's the syntax to find all failed asset imports?

Discussion in '2021.1 Beta' started by laurentlavigne, Feb 2, 2021.

  1. laurentlavigne

    laurentlavigne

    Joined:
    Aug 16, 2012
    Posts:
    6,327
    new quick search has syntaxes to do powerful stuff so i want to know more
     
  2. jonathans42

    jonathans42

    Unity Technologies

    Joined:
    Jan 25, 2018
    Posts:
    514
    We usually discard for indexing assets that the AssetDatabase do not track (i.e. because it failed to import it). But thinking about it, it would be nice to index a property for assets that cannot be loaded but that are still part of the index settings (something similar to
    DefaultAsset
    ).

    I'll check what we can do to keep track of those and use a query such as
    is:imported
    to get all assets that were imported, and
    -is:imported
    (note the
    -
    ) to list all file paths for which an assets was not imported.
     
    florianhanke and laurentlavigne like this.
  3. laurentlavigne

    laurentlavigne

    Joined:
    Aug 16, 2012
    Posts:
    6,327
    Great! I'll be using the heck out of this new query.