Using UFUNCTION in class that derive from UBlueprintFunctionLibrary causing compiling error LNK2019. Here’s my code:
.h
UCLASS()
class NONAMESHOOTER_API UNNMBlueprintGlobalFunctions : public UBlueprintFunctionLibrary
{
GENERATED_BODY()
public:
UFUNCTION(BlueprintCallable)
static void ValidateIPv4();
};
.cpp:
#include "NNMBlueprintGlobalFunctions.h"
#include "Networking.h"
static void ValidateIPv4() {
}
“Networking” module is enabled in build.cs.