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
- [Mobile] Developer Console does not appear when an error is thrown
- [HDRP] Game view renders artifacts when Camera's Component "Post Anti-aliasing" is set to "TAA" and Dynamic Resolution's "Forced Screen Percentage" is changed
- A deactivated Prefab's name color becomes white when a GameObject in the scene is deactivated
- The Game view becomes blank when using Frame Debugger with MSAA and Texture binding enabled in Play Mode
- NullReferenceException is thrown when changing the Inspector preview selection
Add comment