Search Unity

  1. We are looking for feedback on the experimental Unity Safe Mode which is aiming to help you resolve compilation errors faster during project startup.
    Dismiss Notice
  2. Good news ✨ We have more Unite Now videos available for you to watch on-demand! Come check them out and ask our experts any questions!
    Dismiss Notice

Feedback (Case 1171423) Asset import significantly slower than in Unity 4.6

Discussion in '2019.3 Beta' started by Peter77, Jul 23, 2019.

  1. Peter77

    Peter77

    QA Jesus

    Joined:
    Jun 12, 2013
    Posts:
    4,931
    The provided test project creates 100 text files, triggers
    AssetDatabase.Refresh()
    and then outputs how long the AssetDatabase.Refresh call needed.

    Here are the test results on my PC:
    • Unity 2019.3.0f5 = 8.12 seconds
    • Unity 2019.3.0a8 = 10.66 seconds
    • Unity 4.6.3f1 = 4.46 seconds

    Reproduce
    1. Open attached project on a PC similar to the hardware I used to submit the bug-report with
    2. Delete all assets in Assets/Files
    3. Press from main menu BugReport > Create 100 assets
    4. Repeat this in Unity 2019.3 and Unity 4.6

    Actual
    Unity 2019.3.0a8 takes significantly longer to refresh its AssetDatabase.

    Expected
    Newer Unity releases should be faster or equally fast as older Unity releases.
     
    Last edited: Jan 13, 2020
    Griz, MechEthan, joshcamas and 3 others like this.
  2. Peter77

    Peter77

    QA Jesus

    Joined:
    Jun 12, 2013
    Posts:
    4,931
  3. Peter77

    Peter77

    QA Jesus

    Joined:
    Jun 12, 2013
    Posts:
    4,931
    Tested this with Unity 2019.3.0f1. It's still as slow as I described in the first post, not improved yet.

    Bug-report updated with this information.
     
  4. LeonhardP

    LeonhardP

    Unity Technologies

    Joined:
    Jul 4, 2016
    Posts:
    2,085
  5. Peter77

    Peter77

    QA Jesus

    Joined:
    Jun 12, 2013
    Posts:
    4,931
    @Unity_Javier sent me an early build of 2019.3.0f4, which comes with various performance improvements. The editor does feel faster than earlier Unity 2019.3 releases, but there are still a few things that should get ironed out.

    Unfortunately the asset import performance didn't improve, it still costs the same amount of time as mentioned in the first post, which is about twice as slow as Unity 4.6.
     
  6. Peter77

    Peter77

    QA Jesus

    Joined:
    Jun 12, 2013
    Posts:
    4,931
    I tested this with Unity 2019.3.0f5. Import times of the test attached to the bug-report improved about 2s. Down from 10.66s to 8.1s.

    However, 2019.3.0f5 continues to be twice as slow as Unity 4.6, so why has the case been marked as fixed?
     
    Last edited: Jan 13, 2020
    learc83, EVC_Keys, Lorash and 5 others like this.
unityunity