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
- Inspector elements are rendered twice when the script component is added via drag-and-drop while the HideFlags.HideInInspector property is set
- Error "Light baking failed with error code 5 (Convergence data not available while rendering lightmaps)" thrown in Console when generating lighting for specific GameObjects
- Copy and Paste options for an Animation Property value are disabled in the Right click contextual menu
- Asset is not found when searching the Label "NewLabel" in Search Window
- "Compute dispatch: missing texture ID..." and "Compute dispatch: missing UAV ID..." warnings are thrown after changing the platform in High Definition 3D template
Add comment