[4.14][Editor Plugin] Getting LNK2019 via FAssetThumbnailPool::AccessTexture

The title says it all. Not sure what I’m doing wrong.
Created a new Editor plugin, then added dependency entries for:

  • Core
  • CoreUObject
  • Engine
  • Slate
  • SlateCore
  • InputCore
  • UnrealEd
  • RHI

Tried those as both public and private dependencies.
Compiles just fine (under DebugGame Editor), but the linker spits this out:


Module.MeshThumbnailGrabber.cpp.obj : error LNK2019: unresolved external symbol "public: class FSlateTexture2DRHIRef * __cdecl FAssetThumbnailPool::AccessTexture(class FAssetData const &,unsigned int,unsigned int)" (?AccessTexture@FAssetThumbnailPool@@QEAAPEAVFSlateTexture2DRHIRef@@AEBVFAssetData@@II@Z) referenced in function "protected: void __cdecl UMeshAssetListener::OnAssetAdded(class FAssetData const &)" (?OnAssetAdded@UMeshAssetListener@@IEAAXAEBVFAssetData@@@Z)
2>D:\Projects\TempCrap\Continuum\Plugins\MeshThumbnailGrabber\Binaries\Win64\UE4Editor-MeshThumbnailGrabber-Win64-DebugGame.dll : fatal error LNK1120: 1 unresolved externals

…which is in reference to the line auto Texture = thumbnailPool->AccessTexture(AssetData, 256, 256);
A quick look at the API Reference for FAssetThumbnailPool::AccessTexture shows that I should be including the UnrealEd module, which I clearly am doing. So I don’t get it.

Any ideas?

After closer examination, it would seem that FAssetThumbnailPool::AccessTexture is only used in one line of code out of all of the engine source code:
FAssetThumbnail::GetViewportRenderTargetTexture().
So I changed my code to utilize that function instead, and now I’m getting LNK2019 for that function!?
Why in God’s name can’t I link any of this stuff to my editor plugin?
I just want to create a plugin that saves the content browser-generated static mesh thumbnails to disk, for use in non-editor projects.
Is that too much to ask? :frowning: