Hey there,
I created a NetworkManager class in C++ and wanted to call functions of this class in blueprints.
How to fix it ?


Hey there,
I created a NetworkManager class in C++ and wanted to call functions of this class in blueprints.
How to fix it ?


Because your UNetworkManager is derived from UObject, this one must be spawned then you must have a reference to it and only there you will be able to call this function …
If you need to have function that can run without knowing the caller, you can use function library, and have static functions, or you can add an actor component to have a reference to this according to the owner of this component …