Search Unity

  1. 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 Improve "Asset import did not unload metadata path. This will leak memory." Error

Discussion in 'Editor & General Support' started by Peter77, Jun 21, 2019.

  1. Peter77

    Peter77

    QA Jesus

    Joined:
    Jun 12, 2013
    Posts:
    5,227
    Please include the path of the asset that is causing this error.

    Knowing which asset is causing it would allow me to try to reimport or copy/paste the asset to a new project to see if it can be reproduced.

    Without knowing the path it's difficult to find the asset in an existing project, due to having many assets already.

    Edit: The path is printed to the editor.lo. Would be used to have in the actual error message that is printed to the Unity Debug Console window nonetheless.
    Code (CSharp):
    1. Updating Assets/Game/Assets/Quests/Animals/Treats/GiveTreat_Sugar_03.asset - GUID: 023556306f041b64fa1d60338b63caad...
    2. Assertion failed on expression: '!GetPersistentManager().IsStreamLoaded(metaDataPath)'
    3. (Filename: C:\buildslave\unity\build\Modules/AssetDatabase/Editor/V1/AssetDatabaseV1.cpp Line: 1338)
    4.  
    5. [CommitTime: 0.755161 ms] Asset import did not unload metadata path. This will leak memory. File a bug with repro steps please.
    6. (Filename: C:\buildslave\unity\build\Modules/AssetDatabase/Editor/V1/AssetDatabaseV1.cpp Line: 1215)
    7.  
    8. done. [Time: 27.715193 ms]  (Uploaded to cache server.)
     
    Last edited: Jun 21, 2019
  2. Peter77

    Peter77

    QA Jesus

    Joined:
    Jun 12, 2013
    Posts:
    5,227
    I was able to throw together a reproduce case for issue:
    It's attached to bug-report:
    (Case 1167381) 2018.4: Asset import did not unload metadata path
     
unityunity