Search Unity

Bug Editor importing slower based on amount of assets?

Discussion in 'Editor & General Support' started by LaneFox, May 22, 2023.

  1. LaneFox

    LaneFox

    Joined:
    Jun 29, 2011
    Posts:
    7,536
    We've noticed that importing assets into the Editor is slower depending on how many assets are already in the project. For example if you import files in 10k chunks, this is what it will look like in terms of time:
    1. 10k : 10 minutes
    2. 10k : 13 minutes
    3. 10k : 16 minutes
    4. 10k : 22 minutes.
    So importing the files takes seemingly exponentially longer depending on the current size of the asset database. We haven't tried doing individual files to test more granularly but I would suspect that the import process of a single file would be ultra-fast on an empty project and ultra-slow on an asset-heavy project.
    • Is this by design?
    • Can we mitigate this problem?
    I'm not sure what to do with this issue which is particularly problematic if the editor is part of an automated process importing files and doing things with those files.

    Any suggestions?