Download

Difference between ConstructorHelpers::FClassFinder and LoadClass

I was trying to load a blueprint widget class at runtime. When I use


ConstructorHelpers::FClassFinder

, everything works find. However, when I use


LoadClass

, I got a NULL pointer. What’s different between them? What’s the best way to load a blueprint widget using C++ at runtime?