Day: March 12, 2020

The Issue You need a way to load a specific Blueprint of any class directly from a file path in C++. Unreal has you covered: The solution static ConstructorHelpers::FObjectFinder<UClass> ObjectBP(TEXT("WidgetBlueprint'/Game/Blueprints/HUD/BP_IGC_TimerBarWidget.BP_IGC_TimerBarWidget_C'")); if (ObjectBP.Object != NULL) { // Set the object as the blueprint at the reference above. SetWidget(ObjectBP.Object); } A few important notes!! This function should […]