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
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
All about bugs
View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.
Latest issues
- Texture2D hash changes inside of an AssetBundle when rebuilding a SpriteAtlas bundle with an empty AssetPostprocessor Script enabled
- Aniso Level still applies when Generate MipMap is disabled in Texture Import Settings
- Mipmap Limit Groups long names are not truncated when creating a new Mipmap Limit Group with a long name
- “ArgumentException: Invalid double parameter.” error is thrown when Infinity is typed into the Fixed Timestep field
- GameObject becomes gray when using HDRP and STP together on macOS
Add comment