0
\$\begingroup\$

My question is a very simple one.

Why can't UObject derived classes (direct inheritance) call functions from Blueprint Function Libraries?

__

Edit:

My question relates to Blueprints only.

An Object derived Blueprint seems to be incapable of calling functions from an editor-created BlueprintFunctionLibrary

\$\endgroup\$
6
  • \$\begingroup\$ Because they need a reference to the BPFL, but your BPFL is static, so you can include it and then call the functions. \$\endgroup\$
    – ColdSteel
    May 1 '20 at 19:11
  • 1
    \$\begingroup\$ @ColdSteel Thank you for the suggestion - I should have made it clear my question relates solely to blueprints \$\endgroup\$
    – Natalo77
    May 3 '20 at 9:37
  • 1
    \$\begingroup\$ Sorry, I didn’t get it. I also saw this - I think its a bug in UE4 :-| \$\endgroup\$
    – ColdSteel
    May 3 '20 at 14:34
  • \$\begingroup\$ @ColdSteel Hm... Do you think I should post this on the Unreal Forums / Answer Hub? It feels like such a huge problem to be a bug \$\endgroup\$
    – Natalo77
    May 4 '20 at 8:21
  • \$\begingroup\$ You can even open an issue on epics bug tracker, but dont expect it to be fixed, they only care about new features, they dont even fix release stopper bugs. \$\endgroup\$
    – ColdSteel
    May 4 '20 at 10:23
1
\$\begingroup\$

This is a current bug in Unreal Engine.


The thread on the Answer Hub can be found here :

https://answers.unrealengine.com/questions/326679/cant-call-function-librarys-function-in-macro-libr.html#comment-326679-form


The Issue Tracker is here :

https://issues.unrealengine.com/issue/UE-22946

\$\endgroup\$

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.