Search Issue Tracker

Fixed in 2018.3.X

Votes

2

Found in

2017.4.4f1

Issue ID

1045408

Regression

No

AssetDatabase.GetLabels return empty in AssetPostProcessor when asset is first imported

Asset - Importers

-

How to reproduce:
1. Open the user-submitted Project
2. Right click "test-texture" -> Show in Explorer -> Cut the "test-texture" and its .meta file outside of the Project
3. Manually paste the files back into the Assets folder
4. Observe the Console

Expected result: The Label is read correctly as "TestLabel"
Actual result: The Label is returned empty

Reproduced in: 2018.2.0b7, 2018.1.3f1, 2017.4.5f1, 2017.2.3f1, 2017.1.4f1

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.