Hello,
When I’m trying to cook my project, it fails. I attached output log to this post.
I am also using custom blueprint function library:
#pragma once
#include "Kismet/BlueprintFunctionLibrary.h"
#include "ClearingBlueprintFunctionLibrary.generated.h"
/**
*
*/
UCLASS()
class THECLEARING0002PA_API UClearingBlueprintFunctionLibrary : public UBlueprintFunctionLibrary
{
GENERATED_UCLASS_BODY()
UFUNCTION(BlueprintCallable, meta = (FriendlyName = "Save textfile", CompactNodeTitle = "Save", Keywords = "save text file"), Category = "Save")
static bool FileSaveString(FString SaveTextB, FString FileNameB);
UFUNCTION(BlueprintPure, meta = (FriendlyName = "Load textfile", CompactNodeTitle = "Load", Keywords = "load text file"), Category = "Save")
static bool FileLoadString(FString FileNameA, FString& SaveTextA);
};
#include "TheClearing0002PA.h"
#include "ClearingBlueprintFunctionLibrary.h"
UClearingBlueprintFunctionLibrary::UClearingBlueprintFunctionLibrary(const class FPostConstructInitializeProperties& PCIP)
: Super(PCIP)
{
}
bool UClearingBlueprintFunctionLibrary::FileSaveString(FString SaveTextB, FString FileNameB)
{
return FFileHelper::SaveStringToFile(SaveTextB, *(FPaths::GameDir() + FileNameB));
}
bool UClearingBlueprintFunctionLibrary::FileLoadString(FString FileNameA, FString& SaveTextA)
{
return FFileHelper::LoadFileToString(SaveTextA, *(FPaths::GameDir() + FileNameA));
}