Call a C++ function from blueprints

Hey there,

I created a class (deriving from AActor) in C++ and wanted to call one of its functions in blueprints. Sounds simple, but I don’t get it. If I write the function call into the BeginPlay()-Function inside C++, and do the following in blueprints, it works like a charm:

But if I want to call the function directly (like in the picture below), it doesen’t do anything.


What am I doing wrong?

It seems that I entered a wrong variable type… before it was “SomNetworking_C”, now I set it to “SomNetworking”