Search Issue Tracker

Fixed in 2021.1.2f1

Fixed in 2019.4.X, 2020.3.X, 2021.1.X

Votes

0

Found in

2019.4

2019.4.24f1

2020.3

2021.1

2021.2

Issue ID

1334620

Regression

No

AssetDatabase.FindAssets() fails to open folders if search string has a trailing forward-slash

Asset - Database

-

Reproduction steps:
1. Open attached project "Test.zip"
2. In Editor menu, select Tools -> Find My Scenes (Working)
3. Observe Console window
4. In Editor menu, select Tools -> Find My Scenes (Broken)
5. Observe Console window

Expected result: The folder is found in both cases
Actual result: The folder is not found when the FindAssets() path has a trailing forward-slash

Reproducible with: 2019.4.25f1, 2020.3.8f1, 2021.1.7f1, 2021.2.0a17
Could not test with: 2018.4.35f (compilation errors break project)

  1. Resolution Note (fix version 2021.1.2f1):

    Fixed in 2021.2.0a19

  2. Resolution Note (fix version 2021.1):

    Fixed in 2021.1.10f1

  3. Resolution Note (fix version 2020.3):

    Fixed in 2020.3.12f1

  4. Resolution Note (fix version 2019.4):

    Fixed in 2019.4.29f1

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.