Hey im Trying Update my Project from 4.15 to 4.16 and than to 4.17, but … trying is the Good Word. because ive have just so much Problems.
I have on my Project an Custom Blueprint Libary C+ for Change Language, on 4.15 it worked perfectly,
on 4.16 I cant Compile my Project get Error " Error Expected ChangeLocalization.h to be first header included
and also an Error of " Severity Code Description Project File Line Suppression State
Error MSB3073 The command ““C:\Program Files\Epic Games\UE_4.16\Engine\Build\BatchFiles\Build.bat” ProjectKSxEditor Win64 Development “C:\Users\xxxDocuments\Unreal Projects\ProjectKSx16\ProjectKSx.uproject” -waitmutex” exited with code 1. ProjectKSx C:\Program Files (x86)\MSBuild\Microsoft.Cpp\v4.0\V140\Microsoft.MakeFile.Targets 41
Hope anyone Can help me…
// Fill out your copyright notice in the Description page of Project Settings. /
MY h.
#pragma once
#include "ChangeLocalizationKSx.generated.h"
UCLASS()
class PROJECTKSX_API UBlueprintFunctions : public UBlueprintFunctionLibrary
{
GENERATED_BODY()
public:
/* Change Localization at Runtime. */
UFUNCTION(BlueprintCallable, meta = (DisplayName = "Change Localization"), Category = "Locale")
static void changeLocalization(FString target);
};
------------------------------------------------------------------------------------------------------------
my Cpp.
// Fill out your copyright notice in the Description page of Project Settings.
#include "ProjectKSx.h"
#include "ChangeLocalizationKSx.h"
void UBlueprintFunctions::changeLocalization(FString target)
{
FInternationalization::Get().SetCurrentCulture(target);
}