I found a bug in AssetThumbnail.cpp.
To repro, you need an asset that will fail to import.
- On editor start-up, when it does the assets in the folders, before the asset discovery finishes, click import
- Choose to import an asset that will fail to import.
- You will get the message ‘Failed to import asset Blah… etc.’
- The editor will then try and complete the asset discovery and generate the thumbnails for all discovered assets.
At this point, the asset that failed to import will still be among the ones in FAssetThumbnailPool and the latter will try to generate a thumbnail for it, even if the asset is marked as PendingKill.
It is important the asset discovery is still in progress when the asset fails to re-import, otherwise everything works as expected (i.e. the failing asset never ends-up in the thumbnail generation list).