How to get thumbnail manager to load a renderer from a game editor module?

I’m trying to write a thumbnail renderer for a custom class. I’ve written an extension to regular blueprint renderer that does nothing extra, but I can figure out how to make unreal engine register and use it.

I have this entry in the DefaultEditor.ini:

[/Script/UnrealEd.ThumbnailManager]
+RenderableThumbnailTypes=(ClassNeedingThumbnailName="/Script/Game.CustomClass",RendererClassName="/Script/GameEditor.CustomClassThumbnailRenderer")

When I set a breakpoint in UThumbnailManager::InitializeRenderTypeArray function, I can see that the custom class is being loaded successfully, but the renderer just ends up being null.

I’m fairly certain that this is due to the fact that the custom class is in the main game module, while the thumbnail renderer is in the editor module.

What do I need to put where so that LoadObject<UClass>(...) called from UnrealEd module loads the class in the GameEditor module?