Download

Call Function from Blueprint Function Lib in C++

Hey,

is it possible to call a function from a pure Blueprint Function Lib (uasset) in a C++ class? The Lib was created in the Unrealeditor, so I have no Headerfile to include and no idea how to get a reference to the Function Lib.

bests

I want to call the function “GetLightMaterials” from a BlueprintFunctionLibrary. But can´t get a reference to this function. LoadObject seems to be ok but FindFunction doesn´t work for me.
I tried this code:

Why do you put parentheses there?
That is not part of a UFunction’s name.