Search Issue Tracker

Fixed in 2020.1.X

Fixed in 2019.4.X

Votes

0

Found in

2019.3.0a1

2019.3.6f1

2020.1

Issue ID

1230194

Regression

Yes

Passing a folder to AssetDatabase.ImportAsset() with ImportAssetOptions.ImportRecursive does not import any assets within it

Asset - Database

-

Steps to reproduce:
1. Open the attached project (case_1230194.zip)
2. In the menu bar under "Test", select "Import"
3. Open the Console (Window > General > Console)

Expected result: All Assets within the folder "Test" are imported and the respective messages are printed to the Console
Actual result: Only the folder itself is imported

Reproduced in: 2019.3.0a1, 2019.3.7f1, 2020.1.0a23
Not reproducible in: 2017.4.38f1, 2018.4.20f1, 2019.2.0a14, 2020.1.0a24, 2020.2.0a4

  1. Resolution Note (fix version 2020.1):

    Fixed in 2020.1.0a24
    Workaround: Use FindAssets() to search within a folder and import each Asset separately.

  2. Resolution Note (fix version 2019.4):

    Fixed in 2019.4.11f1

Comments (1)

  1. clas_unity

    Jul 02, 2020 22:27

    Will you release any patch or fix regarding this bug to the 2019 LTS version?

Add comment

Log in to post comment

All about bugs

View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.