I got to work Runtime Mesh Component Plugin and Simple Noise Plugin but have problems with yours one , please what to do with those errors in 4.19.2
PlanetGeneration.Target.cs(19,12) : error CS0122: Element "UnrealBuildTool.UEBuildBinaryConfiguration"is unavailable due to its level of protection.
PlanetGeneration.Target.cs(17,23) : error CS0051: Inconsistency of availability: parameter type "ref System.Collections.Generic.List<UnrealBuildTool.UEBuildBinaryConfiguration>"is less available than the method “PlanetGenerationTarget.SetupBinaries(UnrealBuildTool.TargetInfo, ref System.Collections.Generic.List<UnrealBuildTool.UEBuildBinaryConfiguration>, ref System.Collections.Generic.List<string>)”.
PlanetGenerationEditor.Target.cs(19,12) : error CS0122: Element “UnrealBuildTool.UEBuildBinaryConfiguration” is unavailable due to its level of protection.
PlanetGenerationEditor.Target.cs(17,23) : error CS0051: Inconsistency of availability: parameter type “ref System.Collections.Generic.List<UnrealBuildTool.UEBuildBinaryConfiguration>” is less available than the method “PlanetGenerationEditorTarget.SetupBinaries(UnrealBuildTool.TargetInfo, ref System.Collections.Generic.List<UnrealBuildTool.UEBuildBinaryConfiguration>, ref System.Collections.Generic.List<string>)”.
EDIT: I found out how to update code from4.12 to at least 4.18 which is definetly closer to 4.19 than 4.12 there
https://forums.unrealengine.com/deve…guide-for-4-18
and now it should looks like this :
for** PlanetGeneration.Target.cs**
// Fill out your copyright notice in the Description page of Project Settings.
using UnrealBuildTool;
using System.Collections.Generic;
public class PlanetGenerationTarget : TargetRules
{
public PlanetGenerationTarget(TargetInfo Target)
: base(Target)
{
Type = TargetType.Game;
ExtraModuleNames.Add(“PlanetGeneration”);
}
}
and for PlanetGenerationEditor.Target.cs
// Fill out your copyright notice in the Description page of Project Settings.
using UnrealBuildTool;
using System.Collections.Generic;
public class PlanetGenerationEditorTarget : TargetRules
{
public PlanetGenerationEditorTarget(TargetInfo Target)
: base(Target)
{
Type = TargetType.Editor;
ExtraModuleNames.Add(“PlanetGeneration”);
}
}
Now i need find fix for PlanetGeneration.Build.cs
Now I have one error…
Running E:/Epic Games/UE_4.19/Engine/Binaries/DotNET/UnrealBuildTool.exe -projectfiles -project=“E:/Epic Games/Unreal Projects/Test/PlanetGeneration.uproject” -game -rocket -progress
Discovering modules, targets and source code for project…
While compiling E:\Epic Games\Unreal Projects\Test\Intermediate\Build\BuildRules\PlanetGenerationModuleRules.dll:
ERROR: e:\Epic Games\Unreal Projects\Test\Source\PlanetGeneration\PlanetGeneration.Build.cs(7,9) : error CS1729: Element UnrealBuildTool.ModuleRules
does not contain a constructor that would accept such a number of arguments: 0.
ERROR: UnrealBuildTool Exception: Unable to compile source files.
EDIT 2 : And there I found solution for last error
In PlanetGeneration.Build.cs
I just changed this
public PlanetGeneration(TargetInfo Target)
to this
public PlanetGeneration(ReadOnlyTargetRules Target) : base(Target)